Python Input Exercises
Let’s check out some exercises that will help you understand Python’s input() function better.
Using input() function ask for user's name.
This time ask the user a numerical question, such as, "Please enter your age." See what type of data input() returns.
Using input() function, print() function and another function you may need; ask for the current year, then print the answer +50.
Create a converter that will ask for amount of days and convert it to years, then print it.
Using int() function convert the user's answer to integer. And then make your calculation.
You can ask something like: "How many days would you like to convert to a year?"
Let's create the same converter this time with float() function instead of int().
Can you create a converter that converts miles to kms?