#print ("Hello World") my_str = "Hello World" result = (234 - 128)*0.923 # typecast operators # zeichenkette string: str() # gleitkommazahl float: float() # ganzzahl integer: int() """ print float(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, 958] 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] """