I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Menu
subtract numbers

Copy the code into a new file. Save it as “subtract.py”.

Make the following changes.

– change the variable x to be 12.
– change the variable y to be 6.

Run the code. It should display the result of 12 – 6.

x = 9
y = 4
answer = x - y
print(answer)



Comments are closed.

Information