Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 228 Bytes

numbers_stream.md

File metadata and controls

20 lines (14 loc) · 228 Bytes

Stream of Numbers

  1. Print the numbers between 0 and 10
  2. Print the number between 0 and -10

Solution

for i in range(0, 11):
    print(i)
for i in range (0, -11, -1):
    print(i)