Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
5
Task/Loops-For/Python/loops-for-1.py
Normal file
5
Task/Loops-For/Python/loops-for-1.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import sys
|
||||
for i in xrange(5):
|
||||
for j in xrange(i+1):
|
||||
sys.stdout.write("*")
|
||||
print
|
||||
2
Task/Loops-For/Python/loops-for-2.py
Normal file
2
Task/Loops-For/Python/loops-for-2.py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
for i in range(1,6):
|
||||
print '*' * i
|
||||
1
Task/Loops-For/Python/loops-for-3.py
Normal file
1
Task/Loops-For/Python/loops-for-3.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
print('\n'.join('*' * i for i in range(1, 6)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue