Skip to content

Instantly share code, notes, and snippets.

@droidjahangir
Last active November 29, 2019 05:50
Show Gist options
  • Save droidjahangir/c0e722fe19ca2bd40b8c1e4ad5ab5155 to your computer and use it in GitHub Desktop.
Save droidjahangir/c0e722fe19ca2bd40b8c1e4ad5ab5155 to your computer and use it in GitHub Desktop.
for i in range(12,16):
print(i)
'''output
12
13
14
15
'''
for i in range(0,10,2):
print(i)
'''output
0
2
4
6
8
'''
for i in range(5,-1,-1):
print(i)
'''output
5
4
3
2
1
0
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment