How do i fix this verse code? Please someone help me!

There are 2 ways of making if statements:
1.

if (1 = 1):
    DoSomething()
else:
    DoNothing()
if:
    1 = 1
then:
   DoSomething()
else:
    DoNothing()

you’re combining the two, which isn’t allowed. You’re using number 1, which doesn’t need a then statement, since the : after the condition (1 = 1 in this case), is acting as a then.