The trap with strings is that you can use them to represent anything, but you should not. For example, if you want to represent a number, use an integer or a float. Don't create something like this: level = '20' because you will not be able to use it as a number.