Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def compute(a,b):
- res=0
- if int(a)>10:
- print("a big")
- elif int(a)<=10:
- res=int(a)*int(b)
- print("result is",res)
- return res
- a=input("a= ")
- b=input("b= ")
- compute(a,b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement