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
schepotkina [342]
3 years ago
12

What will happen when you run this program?

Computers and Technology
2 answers:
Mamont248 [21]3 years ago
7 0

Answer:

There will be no output. The loop condition is false.

Explanation:

dmitriy555 [2]3 years ago
4 0

Answer:

There will be no output. The loop condition is false.

Explanation:

num is not greater than 0, so the while condition is never true.

Also, there is a colon missing in the code and the print statement is lacking proper indentation, so it could not run at all. Assuming you fix that, the print statement would never be reached.

You might be interested in
Disadvantages of Batch<br>operation system​
jok3333 [9.3K]

Answer:

Disadvantages of Batch Operating System:

  1. The computer operators should be well known with batch systems.
  2. Batch systems are hard to debug.
  3. It is sometime costly.
  4. The other jobs will have to wait for an unknown time if any job fails.
8 0
3 years ago
What's wrong with my program? Here is my code , if the user wants a 3rd card dealt they, have to select yes and the total will b
Mashcka [7]

Your issue is on line 19 in your if statement. In python, if you have more than one condition in an if statement, you have to explicitly mention it after the or.

Your if statement is

if again == "Y" or "y":

However, this will always return true because the second statement simply asks "y".

To correct this, simply change the if statement to:

if again == "Y" or again == "y":

This will correct your code.

Another thing to consider is to always convert a userinput (whenever possible) to one version, this can be accomplished in your code by converting "again" into one version by using the .lower function.

again = input("Would you like to draw a 3rd card? Y or N? ")

again = again.lower()

Hope this helps!

4 0
2 years ago
What font is the declaration of independence?
Keith_Richards [23]
I believe it is old English text
4 0
4 years ago
What command issued from the command prompt will show the route that a packet travels from the issuing computer to another compu
svetoff [14.1K]

Answer:

B)tracert

Explanation:

Tracery Command can be regarded as

network diagnostic tool, it is used in tracking process of pathway of packet ranging from source to destination on IP network. It as well allows to know real time of each hops that are been taken by a packet as it enroutes to it's destination. The traceroute can be run by following these steps:

✓Open the run window

✓Open Command prompt, this can be done by enter "cmd" then enter.

✓ input" tracert" then destination ( Ip address or web address)

It should be noted that Tracery command issued from the command prompt will show the route that a packet travels from the issuing computer to another computer.

6 0
3 years ago
TRUE OR FALSE!!<br> Your location can be identified simply by turning on your cell phone..
Tasya [4]

Answer:

this is true

Explanation:

this is true because of the GPS location device built into your phone

3 0
3 years ago
Read 2 more answers
Other questions:
  • When does a kernel panic occur?
    12·2 answers
  • Which of the following can indicate what careers will be enjoyable ?
    5·1 answer
  • A construction company has an online system that tracks all of the status and progress of their projects. The system is hosted i
    10·1 answer
  • What is the difference between primary storage, secondary storage and off-line storage?
    5·1 answer
  • The advantage of an electronic ____ is that the content can be easily edited and updated to reflect changing financial condition
    10·1 answer
  • File compression is only available on hard-disk drives. <br><br><br> a. True <br><br><br> b. False
    6·1 answer
  • True or False: Wikipedia is a reliable source. ​
    5·2 answers
  • Write a program that creates a two-dimensional array named height and stores the following data:
    15·2 answers
  • Draw
    7·1 answer
  • A common hardware component found in electronic devices including desktop computers, laptops, tablets and smartphones. The amoun
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!