Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def if_loop1(i,N):
- if i != N+1:
- print(i)
- i += 1
- loop(i,N)
- if_loop1(0,10)
- def if_loop2(N):
- i = 0
- def loop():
- if i != N+1:
- print(i)
- i += 1
- loop()
- loop()
- if_loop2(10)
- def if_loop3(N):
- def loop():
- i = 0
- if i != N+1:
- print(i)
- i += 1
- loop()
- loop()
- if_loop3(10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement