Pythondex

Exercise

User Info Variables Exercise

In this exercise, you’ll create a Python program that stores different types of information about a person. You’ll practice using variables, printing text, and basic data types (string, integer, float, boolean).

Task

Write a Python program that:

  • Creates variables for:
    • name – use "Alex" (string)
    • age – use 20 (integer)
    • isMale – use True (boolean)
    • height – use 1.65 (float)
  • Add comments explaining what your program does
  • Print each variable in a clear message as shown below

Example Output

Solve