Answer:
# hasToner variable of type bool
hasToner = True
# hasPaper variable of type bool
hasPaper = False
# The if statement check if hasPaper and
# hasToner is true. If True, it display
# "Printing" and end with new line
if(hasPaper and hasToner):
print("Printing", end="\\")
# If either of the variable is false
# It display "Need supplies" and end with new line
else:
print("Need supplies", end="\\")
Step-by-step explanation:
The value of hasToner and hasPaper can be changed to any boolean type and the required output will be gotten