subject

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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 03:30
In vista and windows 7, the appearance and personalization option allows you to change the
Answers: 1
question
Computers and Technology, 24.06.2019 20:00
Avirus enters a computer or network as code embedded in other software directly from another computer
Answers: 1
question
Computers and Technology, 24.06.2019 21:50
Maddie is traveling to india and would like to document her trip for friends and family to access online. what tool would be best? app blog listserver web page
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
How many meatballs required for a larty of 25 adults and 6 children
Answers: 1
You know the right answer?
Write a function named get_my_age that returns your age as an int (this is YOUR age, so if you were...
Questions
question
Social Studies, 11.10.2021 21:20
question
Mathematics, 11.10.2021 21:30
question
English, 11.10.2021 21:30
question
Mathematics, 11.10.2021 21:30
Questions on the website: 13722363