[Solved] Python 3.4 TypeError: input expected at most 1 arguments, got 3

[ad_1]

input takes only a single string, so to concatenate instead of

cake_amnt = int(input('How many',cake,'would you like to make?'))

You should use format to build the string

cake_amnt = int(input('How many {} would you like to make?'.format(cake)))

Or use the + operator to perform concatenation

cake_amnt = int(input('How many ' + cake + ' would you like to make?'))

0

[ad_2]

solved Python 3.4 TypeError: input expected at most 1 arguments, got 3