See More

# -*- coding:utf-8 -*- __author__ = 'gjw' __time__ = '2018/1/11 0011 上午 9:31' # 题目:创建一个链表。 if __name__ == '__main__': ptr = [] for i in range(5): num = int(input('please input a number:\n')) ptr.append(num) print(ptr)