Skip to content

Commit 08a3216

Browse files
authored
Update 04-loops.md
1 parent 2db48ef commit 08a3216

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/04-loops.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Here one should take care of the fact that lines which are indented inside the w
5252
list=['Jofrey','Cersei','Walder Frey','Meryn Trant','The Red Woman','Beric Dondarrion','Thoros of Myr','Ilyn Payne','The Mountain','The Hound'] # initialize a list with some values
5353
for people in list: # assigns people a temporary value of elements in the list one by one and executes the code till all elemets in the list are iterated
5454
print(people) #prints the current value in the variable people each time
55-
print("-Arya Stark") # You know who is it but look out for the indentation
55+
print("-Arya Stark") # You know who it is but look out for the indentation
5656
```
5757
_Output_
5858
```
@@ -72,7 +72,7 @@ The Hound
7272

7373
### Implementation
7474
```python
75-
for x in range(1,11): #make a note of of the ending point of the list
75+
for x in range(1,11): #make a note of the ending point of the list
7676
print(x,"Mississippi") # x takes one by one each value in the range
7777
```
7878
_Output_

0 commit comments

Comments
 (0)