Help me please python isnt working correctly

I copied python code from old yellow and blue one to the simplified version and it wont run

Hey @Aizki welcome to the forums

Depending on how old it is it wont be Python 3.x so it wont have valid syntax

for some reason it works now thanks