Write a program to create a function that takes two arguments, name and age, and print their value.
Hint:
def
Solution:
# demo is the function name def demo(name, age): # print value print(name, age) # call function demo("Ben", 25)
Explanation:
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Hint:
def
keyword with the function name to define a function.Solution:
Explanation:
need an explanation for this answer? contact us directly to get an explanation for this answer