我有一个问题,是否可以在同一个变量中添加两个范围值,例如
A = range(int(input("Enter the range:")))python可以让我输入范围的起点和终点吗?
A = range(int(input("Enter the range:")))
尝试使用