Take two inputs from user and check whether they are equal or not.
print"Enter first number"first=input()print"Enter second number"second=input()printfirst==second
2.
Take 3 inputs from user and check : all are equal any of two are equal ( use and or )
print"first number"first=input()print"second number"second=input()print"third number"third=input()all=first==secondandsecond==thirdandthird==firstprint"All are equal:",allany=first==secondorsecond==thirdorthird==firstprint"Any of three are equal:",any
3.
Take two number and check whether the sum is greater than 5, less than 5 or equal to 5.
print"Enter first number"first=input()print"Enter second number"second=input()sum=first+secondprint"Sum is greater than 5:",sum>5print"Sum is equal to 5:",sum==5print"Sum is lesser than 5:",sum<5
4.
Judge the follwing expressions : not(True and True) True or False not(False and True) False and False