Practice Test for Variables
🚀 Practice Challenge: Variables and Print in Python
Since you have learned about variables and their types, let's put them into action! Define three variables:
- ✅ Your Name (Data Type:
String) - ✅ Your Age (Data Type:
Int) - ✅ Your Hobby (Data Type:
String) - ✅ Print all three variables
Try writing the code below in the coding box and test it! 🎯
Coding box below - Click in box and type text here! ⬇️ ⬇️
Output:
Click to Reveal Solution
name = "Superman"
age = 100
hobby = "Flying"
print(name)
print(age)
print(hobby)