TypeError: input() не принимает аргументов ключевого слова [дубликат] ⇐ Python
-
Anonymous
TypeError: input() не принимает аргументов ключевого слова [дубликат]
workouts=int(input("How many workouts do you have data for?\n")) a=0 b=0 for i in range(workouts): sets=int(input("How many sets were completed in workout #",a,"?\n", sep="")) I'm trying to create a for loop that runs for the amount of workouts i specify, that then asks me how many sets i would do. However, i get an input error instead.
Источник: https://stackoverflow.com/questions/780 ... -arguments
workouts=int(input("How many workouts do you have data for?\n")) a=0 b=0 for i in range(workouts): sets=int(input("How many sets were completed in workout #",a,"?\n", sep="")) I'm trying to create a for loop that runs for the amount of workouts i specify, that then asks me how many sets i would do. However, i get an input error instead.
Источник: https://stackoverflow.com/questions/780 ... -arguments