+ 2

I want to give a condition if result of this code greater than 33 then print ("you have been passed")...please help

x=int(input()) y=int(input()) print ("sum of", x ,"and",y,"is", x+y )

8th Aug 2019, 5:04 PM
🇧🇩BASHAR
🇧🇩BASHAR - avatar
2 Réponses
+ 8
x=int(input()) y=int(input()) sum=x+y print("sum of ",x, "and",y,"is",x+y) if(sum>33): print("you have been passed") Thanks
8th Aug 2019, 5:08 PM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar
+ 4
if(int(input())+int(input()) > 33):print("passed")
8th Aug 2019, 5:14 PM
Dlite
Dlite - avatar