Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

from C# or Java. You can also use with arrayslists:

Code Block
for i in [300, 100, 23, 1, 55]:
    print(i)
Code Block
itens = [2, 44, 56, 123, 98, 77, 1000]
for i in itens:
    print (i)

or ,arrays:

Code Block
for i in (1, 4, 98, 399, 1000, 34, 199):
    print (i)

...