Problem C: python--列表的创建

Problem C: python--列表的创建

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

创建列表的方法。
方法1:直接给列表赋值,例如aqi=[151,57,32,4,81,161]
方法2:结合循环语句和input()函数在输入数据创建列表。例如,输入10个数创建列表aqi的代码为:
         aqi=[ int( input( ) ) for i in range(10) ]


任务要求:
请参考方法2创建列表的方法(或者参考书本58页),创建一个列表high,列表存放6个学生的身高值,这6个数用循环语句和input函数获取,然后输出该列表每个学生的身高。

Input

160
150
165
173
163
166

Output

[160, 150, 165, 173, 163, 166]

Sample Input Copy

180
190
178
166
153
185

Sample Output Copy

[180, 190, 178, 166, 153, 185]