print("Hello. Please Proceed to Enter a Range of Numbers")
first = int(input("please enter the first number in the range: "))
last = int(input("please enter the last number in the range: "))
numlist=list(range(first,last)
我在解析时遇到一个错误,预期为eof。当我加入print(numlist)
它增加了一个额外的错误
本质上,这是在声明numlist之后,它遍历它并在新行上打印出每个值
你的主要问题是你错过了numlist声明中的第二个RPAREN
相关问题 更多 >
编程相关推荐