'>' not supported between instances of 'int' and 'str' - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: '>' not supported between instances of 'int' and 'str' (/thread-4568.html) Pages:
1
2
|
RE: '>' not supported between instances of 'int' and 'str' - LuKaZ - May-14-2018 Larz60+, I experienced the same problem and I was working with variables filled with numbers. Here it was: if players > 12: print("I said 4-12 players try again") names() |