Question 3: Variable Name Badge

🪪 Name Badge

import task_variables_03

A school needs to print name badges. To make them stand out, names are printed in uppercase, and the number of letters in the name is printed next to them. Write a Python program to prepare the name badge for Daniel.
  • Store the name in a variable called name and set it to “daniel” (lowercase).
  • Use the .upper() method on name and store the result in a variable called upper_name.
  • Use the len() function on name and store the result in a variable called name_length.
  • Print both upper_name and name_length.
Write what you are looking for, and press enter to begin your search!