题解 | #2的次方数#
2的次方数
http://www.nowcoder.com/practice/d86587eaa6dd47109933c732e69bb3d2
my_list=[] for i in range(1,11): x=2**i my_list.append(x) for i in my_list: print(i)
2的次方数
http://www.nowcoder.com/practice/d86587eaa6dd47109933c732e69bb3d2
my_list=[] for i in range(1,11): x=2**i my_list.append(x) for i in my_list: print(i)
相关推荐