Skip to content

Commit 9a07d58

Browse files
Day 14
1 parent 5abf0e8 commit 9a07d58

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

Day14: doubt/con_state.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
for i in range(1, 11):
2+
if i == 5:
3+
print("I am skipped")
4+
pass
5+
print(i)
6+
7+
8+
def fun():
9+
pass

Day14: doubt/game_inst.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
opt = ["rock", 1, 2]
2+
# user_score, pc_score 10

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@
196196
- [x] Magic Balls
197197

198198
- [ ] While loops
199-
- [ ] Introducing while loops
199+
- [x] Introducing while loops
200200
- [x] The while Loop in Action
201201
- [x] Letting the User Choose When to Quit
202202
- [x] Using a Flag
203203
- [x] Using break to Exit a Loop
204-
- [ ] Using continue in a Loop
204+
- [x] Using continue in a Loop
205205
- [x] Avoiding Infinite Loops
206206
- [x] Using a while
207207
- [x] Moving Items from One List to Another

0 commit comments

Comments
 (0)