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
AlladinOne [14]
3 years ago
11

What is the output of this program?

Computers and Technology
1 answer:
irinina [24]3 years ago
8 0

Answer:

Output: yes

Explanation:

First if statement is satisfied, since numA==2, so yes is printed.

The elif statement is skipped altogether, since elif statements are only evaluated, when the statement above if false, which it is not.

You might be interested in
What is the part of the computer system that receives inputs, directs those inputs to the processor, and redirects the processed
sertanlavr [38]
The part of the computer system that receives inputs, directs those inputs to the processor, and redirects the processed data to outputs is called system board. 
4 0
3 years ago
What are the missing words in the program?<br> divide(numA,numB):<br> numA/numB
Alex787 [66]

If you just want to get the quotient of numA and numB from the function, it would look like this:

def divide(numA, numB):

   return numA/numB

If you want to get the quotient of numA and numB from the function and then print that value to the screen, it would look like this:

def divide(numA, numB):

   return numA/numB

print(divide(1,1))

You can replace those 1's with any number you want.

7 0
3 years ago
Read 2 more answers
Why should teachers refrain from using extreme language, such as “I’m dying of hunger,” around four- and five-year-old children?
swat32

Answer:

Teachers of four and five year old children should refrain from using sentences such as "i'm dying of hunger," because children so young could take the death part of the comment to literally, they are small children, and do not yet fully understand the concept of figure of speech or over exaggeration.

3 0
3 years ago
What is folded card publishing?​
Alexeev081 [22]

Answer:

Folded card This layout type is for creating greeting cards by printing pages on a sheet and then folding the sheet to make the card. If you choose the Folded card layout, then sheet fold options are displayed. Select an option in the list to specify how you will fold your publication

Explanation:

3 0
2 years ago
Read 2 more answers
When a bank account pays compound interest, it pays interest not only on the principal amount that was deposited into the accoun
Talja [164]

Answer:

def main():

   principal = float(input("Enter the amount of principal amount to be deposited: "))

   rate = float(input("Enter annual interest rate paid by the account: "))

   num = int(input("Enter the number of times per year that the interest is compunded: "))

   years = float(input("Enter the number of years the account will be left to earn interest: "))

   amount = principal*(1+(rate*.01)/num)**(num*years)  

   print("The amount of money will be in the account after ", years, "years:", round(amount,2))

main()        

Explanation:

  • Calculating the balance of the account after a specified number of years  with the help of the formula:
  • amount = principal*(1+(rate*.01)/num)**(num*years)  
8 0
3 years ago
Other questions:
  • What's the best option if you can't show your PowerPoint presentation at all?
    9·2 answers
  • What are some examples for Environmental Technology?
    5·2 answers
  • What is it called when you give credit in your writing to someone else's quote?
    10·1 answer
  • The rules of thumb designers use when creating a wireframe page
    8·1 answer
  • "Most of us know that when we come into a college classroom, we will see desks and chairs, a computer station and a projector. A
    6·1 answer
  • Which of the following terms best describes the process that occurs when two or more parties decide how to allocate scarce resou
    12·1 answer
  • PLZZZZZ NEED HELP!!!!!!
    5·1 answer
  • Which two of the following skills are important for a meteorologist
    12·1 answer
  • The D:\ drive in your computer has been formatted with NTFS. The Mary user account has been assigned the following permissions:
    10·1 answer
  • Step of opening browser on computer​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!