Python Input Exercises Let’s check out some exercises that will help you understand Python’s input() function better. Exercise 13-a Using input() function ask for user's name. #Type your answer here. ans_1= print("Hello!, " + ans_1) Hint 1 input() function will return whatever user enters after its prompt. Inside input() function’s parenthesis you can type your message which will be shown to the user:input(“message or question”) Solution ans_1 = input("Please enter your name.") Exercise 13-b This time ask the user a numerical question, such as, "Please enter your age." See what type of data input() returns. #Type your code here. ans_1= print(type(ans_1)) Hint 1 input() function will always return string type data. Solution ans_1 = input("Please enter your age.") Exercise 13-c Using input() function, print() function and another function you may need; ask for the current year, then print the answer +50. #Type your answer inside print function, all in one line. print() Hint 1 int() function can be used to convert string type into int type in Python. Solution print(int(input("Please enter the current year."))+50) Exercise 13-d 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?" # Type your answer here. message= result= print(result) Hint 1 You can assume 1 year is 365 days and neglect the extra hours. Solution message = input("Please enter the amount of days you'd like to convert to years.")result = int(message)/365 Exercise 13-e Let's create the same converter this time with float() function instead of int(). # Type your answer here. message= result= print(result) Hint 1 You can assume 1 year is 365 days and neglect the extra hours. Solution message = input("Please enter the amount of days you'd like to convert to years.")result = float(message)/365 Exercise 13-f Can you create a converter that converts miles to kms? # Type your answer here. message= result= print(result) Hint 1 1 mile = 1.609 km Solution message = input("How many miles would you like to convert?")result = int(message)*1.609