1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Readme [11.4K]
4 years ago
15

Given two variables hasToner and hasPaper of type bool, that have been declared and given values, write a code block that will o

utput "Need supplies" if either is not true, otherwise output "Printing...". In either case, end with a newline.
Computers and Technology
1 answer:
shusha [124]4 years ago
7 0

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="\n")

# If either of the variable is false

# It display "Need supplies" and end with new line

else:

   print("Need supplies", end="\n")

Explanation:

The value of hasToner and hasPaper can be changed to any boolean type and the required output will be gotten

You might be interested in
Filtering is a function of _____.
Levart [38]
The answer is: switches.

Explanation:

Filtering is a function of switches.
3 0
2 years ago
The first daemon loaded on a linux system is _____.
Anni [7]

On a Linux system, the first daemon that is loaded is known as init.

<h3>What is a daemon?</h3>

A daemon can be defined as a program that is designed and developed to run continuously and it's created to handle periodic service requests that are expected to be received on a computer system such as a Linux system.

On a Linux system, init simply refers to the first daemon that is loaded and it runs continuously.

Read more on Linux here: brainly.com/question/25480553

#SPJ12

6 0
2 years ago
17. When looking for information on a web site, what is the easiest method to find that information? The search button The searc
Ket [755]

Answer:

<h3>Using search engines</h3>

Explanation:

<h3>With billions of websites online today, there is a lot of information on the Internet. Search engines make this information easier to find. Let's look at the basics of using a search engine, as well as some techniques you can use to get better search results.</h3>
5 0
3 years ago
When using the Python shell and code block, what triggers the interpreter to begin evaluating a block of code
finlep [7]

Answer:

The answer is "A blank line".

Explanation:

The blank line initiates the interpreter to start examining the line of statements whenever the Python shell as well as the code block are used.  

  • It is also known as the line that has nothing but spaces or lines without texts or a line.  
  • It prints an empty sheet,  which leaves its performance with such a blank line.

5 0
3 years ago
Help me will give brainliest. So can you do number 2 about gaming please
zvonat [6]

Answer: Some insights big data can provide about my hobby, gaming, is what year a certain game was created or the number of purchases made in a year. These insights can make things better for me by knowing what versions to receive first and what's the best game to get. Although, some ways big data can make it worse is by not understanding what the information is saying due to a lack of data or context. They can also make it worse by data and system errors, causing problems for me due to the decisions I make off of it.  

I hope this helped!

Good luck <3

4 0
3 years ago
Other questions:
  • Windows on the desktop are just one of many objects used in a graphical user interface (GUI)-- buttons, drop-down list boxes, po
    7·1 answer
  • Which best compares and contrasts broadcasting a slide show and sending the presentation as a PDF?
    10·1 answer
  • What width would you choose for the pdf?
    12·1 answer
  • Although highly accurate navigational information from the GPS constellation is exploitable by adversary forces, it is unlikely
    5·1 answer
  • What should htc's os strategy be? should it stick with windows mobile and android? should htc build its own platform? add/drop o
    6·1 answer
  • Most of the revenue that magazine companies generate comes from?
    8·2 answers
  • Which of the following should you press to insert a non-
    8·2 answers
  • To keep files organized, related documents are often stored in ____ (also called directories) located on the storage medium.
    11·1 answer
  • Carl wants to add two new characters to the extraterrestrial battleship game he's
    15·1 answer
  • A vpn is used primarily for which purpose?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!