Operators in Python

Let's dive more into Operators

💡 In this final excercise, we will subract two number-

💡 Write a code below

Create two variables of integer type

Numbers should be 1000 and 525

Subtract both numbers

print the result

** Use flip card to see solution if you are not able to complete **

Type code below in textbox

Output:

    
Click to Reveal Solution
number1 = 1000
number2 = 525
result = number1 - number2
print(result)