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 ---")
|
print("--- Program 1 ---")
|
||||||
pet = "cat"
|
pet = "cat"
|
||||||
print(pet)
|
print(pet)
|
||||||
# My guess:
|
# My guess: cat
|
||||||
|
|
||||||
|
|
||||||
print("--- Program 2 ---")
|
print("--- Program 2 ---")
|
||||||
pet = "cat"
|
pet = "cat"
|
||||||
print("pet")
|
print("pet")
|
||||||
# My guess:
|
# My guess: cat
|
||||||
|
|
||||||
|
|
||||||
print("--- Program 3 ---")
|
print("--- Program 3 ---")
|
||||||
pet = "cat"
|
pet = "cat"
|
||||||
pet = "dog"
|
pet = "dog"
|
||||||
print(pet)
|
print(pet)
|
||||||
# My guess:
|
# My guess: dog
|
||||||
|
|
||||||
|
|
||||||
print("--- Program 4 ---")
|
print("--- Program 4 ---")
|
||||||
x = 5
|
x = 5
|
||||||
x = 7
|
x = 7
|
||||||
print(x)
|
print(x)
|
||||||
# My guess:
|
# My guess: 12
|
||||||
|
|
||||||
|
|
||||||
print("--- Program 5 ---")
|
print("--- Program 5 ---")
|
||||||
name = "Sam"
|
name = "Sam"
|
||||||
print("Hi, Sam " + name)
|
print("Hi, Sam " + name)
|
||||||
# My guess:
|
# My guess: tykyvion
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,12 @@
|
||||||
# Run it with the play button ▶ (top right).
|
# Run it with the play button ▶ (top right).
|
||||||
|
|
||||||
|
|
||||||
name = input("Type a name: ")
|
name = input("Type a name:ky ")
|
||||||
animal = input("Type an animal: ")
|
animal = input("Type an animal: dog ")
|
||||||
food = input("Type a food: ")
|
food = input("Type a food: pizza ")
|
||||||
|
|
||||||
place = ____ # Ask for a place. Copy a line above and change it.
|
place = input("Type a place") # Ask for a place. Copy a line above and change it.
|
||||||
silly_word = ____ # Ask for a silly word.
|
silly_word = input ("Type a silly_word") # Ask for a silly word.
|
||||||
|
|
||||||
|
|
||||||
# ----- THE STORY -----
|
# ----- THE STORY -----
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue