Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- numbers = []
- dataset = 6
- def whileloop():
- i = 0
- while i < dataset:
- print "at the top i is %d" % i
- numbers.append(i)
- i = i + 1
- print "numbers now: ", numbers
- print "at the bottom i is now %d" % i
- print "the numbers: "
- for num in numbers:
- print num
- whileloop()
Add Comment
Please, Sign In to add comment