Mega Code Archive

 
Categories / Python Tutorial / List
 

Repetition ( )

num_list = [43, -1.23, -2, 6.19e5] print num_list * 2 print num_list * 3