How to fix ValueError: invalid literal for int() with base 10: 'abc' in Python | DevErrors