New coding words
variablevaluenameintegerstring
Aim: Make the computer store words and numbers, then use them again.
variablevaluenameintegerstringRun this program here to see how variables store information. Edit a value and run it again.
Tab indents. Esc then Tab leaves the editor. Ctrl/⌘ + Enter runs your code.
Select Run my code to try this program.
age = 8 - age is the variable name and 8 is its integer value.name = "Ada" - name is the variable name and "Ada" is its string value.age = 9 shows that a variable's value can change.Invent a superhero, store the facts in variables and print a profile card.
Tab indents. Esc then Tab leaves the editor. Ctrl/⌘ + Enter runs your code.
Select Run my code to try this program.
Complete these activities in the mini-project editor above. After each change, select Run my code to check your program’s output or drawing.
Select Download my work and save the file as week_2_superhero_profile_card.py. The .py ending tells us that the file contains Python code. Keep this file as a copy of your finished program.

score = 10pet = "dog"Your answers are checked in this browser and are not submitted.
Finished Week 2?
This progress is saved only in this browser.