Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Write Your First Function | Writing Functions in R
Functions and Functional Programming in R

bookChallenge: Write Your First Function

Tarefa

Swipe to start coding

Create a function that introduces a person using their name and age.

  • The function introduce_person must take two arguments: name and age.
  • The function must return a string in the format: "Hello, my name is <name> and I am <age> years old.".

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Write Your First Function

Deslize para mostrar o menu

Tarefa

Swipe to start coding

Create a function that introduces a person using their name and age.

  • The function introduce_person must take two arguments: name and age.
  • The function must return a string in the format: "Hello, my name is <name> and I am <age> years old.".

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
single

single

some-alt