Share your repls and programming experiences

← Back to all posts
Calculator
khani16 (12)

Calculator made using Python

Here is the code:
x = int(1) # x will be 1
y = int(2.8) # y will be 2
z = int("3") # z will be 3

Commentshotnewtop
khani16 (12)

Here is another code:
print("Write a mathemactical question")
x = x = int(1) # x will be 1
y = int(2.8) # y will be 2
z = int("3") # z will be 3int(1) # x will be 1
y = int(2.8) # y will be 2
z = int("3") # z will be 3