exp = int(input('Введите опыт героя: ')) if exp < 1000: level = 1 if exp >= 1000 and exp < 2500: level = 2 elif exp >= 2500 and exp < 5000: level = 3 else: exp >= 5000 level = 4 print('Уровень героя: ', level)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter