r/code • • Aug 02 '22

Why isn’t this simple program working?

Post image
14 Upvotes

5 comments sorted by

7

u/Lonyless Aug 02 '22

The comma man omg

0

u/National_Set5444 Aug 02 '22

Maaaaan it was the damn comma

1

u/National_Set5444 Aug 02 '22

My input is only integers like 1 or 2 and the TypeError is “can only concentrate str (not int) to str

-2

u/Significant-Mine8899 Aug 02 '22

you should make int(input("European floor?")) on the first line, in line 3 we also should change something, its missing a + between the string and usf

0

u/[deleted] Aug 02 '22

[deleted]

2

u/hawkinat0r7089 Aug 02 '22

Nah, he need a comma between the two arguments he's feeding the print statement.