Create 3 - It's Natural.py
This commit is contained in:
parent
2c6fb29652
commit
494101e0a6
8
13/3 - It's Natural.py
Normal file
8
13/3 - It's Natural.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
def naturalNumbers(n):
|
||||||
|
out = []
|
||||||
|
for i in range(n):
|
||||||
|
out += [i+1]
|
||||||
|
return out
|
||||||
|
|
||||||
|
#def naturalNumbers(n):
|
||||||
|
# return [i+1 for i in range(n)]
|
Loading…
Reference in New Issue
Block a user