Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def Liczby(a,b):
- liczbyTab = []
- j = 0
- k = 5
- index = 0
- for i in range (a, b+1):
- liczbyTab.append(i)
- for i in liczbyTab:
- a = (str(liczbyTab[j:k]))
- print(a.replace("[", "").replace("]", "").replace(",", ""))
- index += 5
- j = k
- k += index
- if index==5:
- index=0
- if int(k-index)>b:
- break
- Liczby(1,30)
Advertisement
Add Comment
Please, Sign In to add comment