Write a function greeting(name, age) where name is a string, age is a float, and the output is a string "Hi, my name is XXX and I am XXX years old." where XXX are the input name and age, respectively....


Write a function greeting(name, age) where name is a string, age is a float, and the output is a string "Hi, my name is XXX and I am XXX years old." where XXX are the input name and age, respectively.


Test Cases:


In: greeting("John", 26)


Out: "Hi, my name is John and I am 26 years old."


In: greeting("Kate", 19)


Out: "Hi, my name is Kate and I am 19 years old."

Nov 13, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here