Today youโll create variables to build your own character!
โ
Instructions
Make a variable called character with your favorite video game characterโs name.
Make a variable called weapon with any weapon (sword, bow, etc.).
Make a variable called health with a number.
Then print a sentence like:
"Mario has a sword and 100 health points!"
๐ Example Code
character = "Mario"
weapon = "sword"
health = 100
print(character, "has a", weapon, "and", health, "health points!")
๐ Output:
Mario has a sword and 100 health points!
๐ฏ Bonus Challenge
Add a level variable.
Print: "___ is on level ___ with ___ health points and a ___."
๐ฌ Share your character creation in the comments โ letโs see who makes the strongest one! โ๏ธ