#print "hello world" my_str = "hello world" result = 234 + 128 + 284 / 36 # typecast operators # zeichenkette string: str() # gleitkommazahl float: float() # ganzahl integer: int() #print int(result) #print "the result is " + str(result) + " and the message is " + my_str #print "the message is " + my_str my_list = [ 12, 141, 345, 51, 3, 965] my_colleagues = [ "andi", "adam", "franziska", "salim", "michi", "urs"] #print len(my_colleagues) for x in my_colleagues: print x #i = 0 #while (i < len(my_colleagues)): # print my_colleagues[i] # i = i+1 #print my_colleagues[0] #print my_colleagues[1] #print my_colleagues[2] #print my_colleagues[3] #print my_colleagues[4] #print my_colleagues[5]