how to run for loop in python
for i in range(5):
print(i)
OUTPUT
0
1
2
3
4
how to run for loop in python
for i in range(5):
print(i)
OUTPUT
0
1
2
3
4
for loop example python 3
for num in nums:
for letter in 'abs':
print(num, letter)
steps in for loop python
list_1 = [9, 5, 7, 2, 5, 3, 8, 14, 6, 11]
for i in range(0, len(list_1), 2) :
print(list_1[i])
2 is the steps
output:
9
7
5
8
6
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us