Help me in solving PYTH21 problem

My issue

how to solve this problem

My code

# Replace __ in print statement to print (number - 1)

number = -1
print(number)

Learning course: CEMP: Programming in Python
Problem Link: Declaring a variable in CEMP: Programming in Python

You have to do it like number = number - 1

1 Like

number -= 1
you can use the assignment operators