#
for untilListConsumed:
do something
while untilConditionTrue:
do something
#
msg = "a %s %s" % (name, surname)
#
a = ['a','b','c']
b = [1,2,3]
for i,j in zip (a,b):
print("%s is %s" %(i,j))
a is 1
b is 2
c is 3
#
try:
except:
# with handles close()
with open("example.txt","w") as myfile:
... myfile.write("something")
#pandas open csv
import pandas
df = pandas.read_csv("C:\Users\jwang31\Documents\py\crime.csv")
df