Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
650 B
0
Indexable
Never
print("hello")

num=int(input("meter:"))
print(num*100)

feet=int(input("feet:"))
meter=feet / 3.281
print(round(meter,3))

meter=int(input("meter:"))
feet=meter *3.281
print(feet)

num=int(input("power of:"))
ans=pow(num,2)
print(ans)

A=int(input("value of A:"))
B=int(input("value of B:"))

if A>B:
    print("A is greater than B")
else:
    print("B is greater than A")


# print("enter 1 for usd\nenter 2 for cad:")
currency=int(input("enter 1 for usd\nenter 2 for cad\n:"))
money=int(input("inr money:"))

if currency==1:
    print(int(money/82),"$")
elif currency==2:
        print(int(money/61))
else:
    print("select correct currency")



Leave a Comment