Day 3 save point
This commit is contained in:
parent
c0bf5ba30c
commit
f02a26ad14
2 changed files with 10 additions and 10 deletions
10
boxes.py
10
boxes.py
|
|
@ -9,30 +9,30 @@
|
|||
print("--- Program 1 ---")
|
||||
pet = "cat"
|
||||
print(pet)
|
||||
# My guess:
|
||||
# My guess: cat
|
||||
|
||||
|
||||
print("--- Program 2 ---")
|
||||
pet = "cat"
|
||||
print("pet")
|
||||
# My guess:
|
||||
# My guess: cat
|
||||
|
||||
|
||||
print("--- Program 3 ---")
|
||||
pet = "cat"
|
||||
pet = "dog"
|
||||
print(pet)
|
||||
# My guess:
|
||||
# My guess: dog
|
||||
|
||||
|
||||
print("--- Program 4 ---")
|
||||
x = 5
|
||||
x = 7
|
||||
print(x)
|
||||
# My guess:
|
||||
# My guess: 12
|
||||
|
||||
|
||||
print("--- Program 5 ---")
|
||||
name = "Sam"
|
||||
print("Hi, Sam " + name)
|
||||
# My guess:
|
||||
# My guess: tykyvion
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@
|
|||
# Run it with the play button ▶ (top right).
|
||||
|
||||
|
||||
name = input("Type a name: ")
|
||||
animal = input("Type an animal: ")
|
||||
food = input("Type a food: ")
|
||||
name = input("Type a name:ky ")
|
||||
animal = input("Type an animal: dog ")
|
||||
food = input("Type a food: pizza ")
|
||||
|
||||
place = ____ # Ask for a place. Copy a line above and change it.
|
||||
silly_word = ____ # Ask for a silly word.
|
||||
place = input("Type a place") # Ask for a place. Copy a line above and change it.
|
||||
silly_word = input ("Type a silly_word") # Ask for a silly word.
|
||||
|
||||
|
||||
# ----- THE STORY -----
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue