Write a function named get_my_age that returns your age as an int (this is YOUR age, so if you were 21 you would return the number 21). Note that this function takes no arguments and no input from the user. Call the function once and print the result. Reflect on the difference between creating a variable with a constant value and creating a function with no arguments that returns a constant return value.
+5
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a function named get_my_age that returns your age as an int (this is YOUR age, so if you were 21 you would return the number 21). ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » Write a function named get_my_age that returns your age as an int (this is YOUR age, so if you were 21 you would return the number 21). Note that this function takes no arguments and no input from the user.