Notification texts go here Contact Us Buy Now!

choose an expression (from the options given) which would give the same logical outcome for the expression given below: var1 = 5 var2= 5 var3=1 var4=1 var5=0

choose an expression (from the options given) which would give the same logical outcome for the expression given below: var1 = 5 var2= 5 var3=1 var4=

 '''choose an expression (from the options given) which would give the same logical outcome for the expression given below: var1 = 5

var2= 5
var3=1
var4=1
var5=0
(var1+var2)>(var3/var4) and var5<=(var1-var3*var2)

'''
var1 = 5
var2= 5
var3=1
var4=1
var5=0

print( (var1+var2)>(var3/var4) and var5<=(var1-var3*var2) )

print( not((var3>=var4) and (var3==var4)))

print( not((var4>=var2) or (var1==var3)) )

print( (var4>=var2) and (var1>=var2) )

print( (var3==var4) and(var1>var2) )

'''
OUTPUT
True
False
True
False
False

'''

إرسال تعليق

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.