Pythondex

Exercise

Input Practice Exercise

In this exercise, you’ll practice using the input() function to get information from the user.

Task

Write a Python program that:

  • Asks the user for their name and age
  • Prints a message like:
  • Adds comments explaining what your program does

Solve