Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f = open("cmd.txt","w")
- a = range(5)
- list(a)
- [0, 1, 2, 3, 4]
- def infinite_sequence():
- num = 0
- while True:
- yield num
- num += 1
- for i in infinite_sequence():
- print("javascript:addBundleToCart("+str(i)+");\n", end=" ", file=f)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement