Q:

Write python program to create a function that takes two arguments as user input, name and age, and print their value. Test your program by using as input one of the following at a time:

0

Write a python program to create a function that takes two arguments as user input, name and age, and print their value.

Test your program by using as input one of the following at a time:

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

def myfunc(name,age):
    print("name is ",name,', age is ',age)

myfunc(input('enter your name: '), input('enter your age:'))

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now