
python logical operators
Authored by Мадина Егембердиева
Computers
1st Grade
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
a=45
if a>=45 and a<65:
print("three")
else:
print("hello")
hello
three
none
Three
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
a=35
if a>=45 or a<65:
print("three")
else:
print("hello")
hello
three
Hello
none
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
a=35
if a!=45:
print("Hiii")
else:
print("hello")
HIII
hello
Hiii
Hello
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
a=35
b=True
if a!=45 and b==False:
print("Hiii")
else:
print("hello")
Hiii
good
hello
Hii
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
a=35
b=True
if a!=45 or b==False:
print("Hiii")
else:
print("hello")
Hiii
hello
hiii
none
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?