Starting Point

This commit is contained in:
2018-02-22 14:42:33 +01:00
parent b3b46b401f
commit b80d0e844a
14 changed files with 165 additions and 0 deletions

18
Pass1/Iteration.py Executable file
View File

@@ -0,0 +1,18 @@
#sneak in a little example of importing a library:)
import os
list2 = ["foo","man","chu","Elvis"]
#iterating through a list
for i in list2:
print(i)
#iterating through a dictionary
for j, k in os.environ.items():
print("%s=%s" % (j,k))
launch = 10
while launch > 0:
print(launch)
launch -= 1
print("Blastoff!")