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
jok3333 [9.3K]
3 years ago
8

What is the output of the following code snippet if the variable named cost contains 100? if cost < 70 or cost > 150 : dis

count = 0.8 * cost else : discount = cost print("Your cost is ", discount)
Computers and Technology
1 answer:
DanielleElmas [232]3 years ago
6 0

Answer:

The output is: Your cost is  100

Explanation:

Given

The above code snippet

and

cost = 100

Required

Determine the output of the code

if cost < 70 or cost > 150

The above condition checks if cost is less than 70 or cost is greater than 150

This condition is false because 100 is neither less than 70 nor is it greater than 150

So, the else statement will be executed.

discount = cost

Which means

discount = 100

So, the print instruction will print: Your cost is  100

You might be interested in
The best way to safeguard your document is to save it
givi [52]
The answer is C every few minutes
8 0
3 years ago
What type of trust model is used as the basis for most digital certificates used on the internet?
vesna_86 [32]

The type of trust model that is used as the basis for most digital certificates used on the internet is known to be option B. distributed trust.

<h3>What is the trust model of the Internet?</h3>

The trust model of the internet is known to be one that is made up of tradeoffs.

Note that Distributed trust is seen as the system that is made up of transactions and it is one that is backed up by an extended community and onw where there is no trusted third parties.

Hence, The type of trust model that is used as the basis for most digital certificates used on the internet is known to be option B. distributed trust.

See full question below

What type of trust model is used as the basis for most digital certificates used on the Internet?

A. third-party trust

B. distributed trust

C. related trust

D. managed trust

Learn more about digital certificates from

brainly.com/question/24931496

#SPJ1

3 0
2 years ago
A word root is used to link a suffix that begins with a vowel. Which of the following words is an example of this rule? Group of
QveST [7]

Answer:

The answer is A.

Explanation:

5 0
4 years ago
Mason has created a website for his presentation so that people can access relevant resources during or after the presentation.
skelet666 [1.2K]

Answer:

Option E is the correct option.

Explanation:

When any user has created any websites for presenting his presentation by which users can access appropriate tools at the time of the presentation or afterward.  

So, in the presentation process, the following user integrated social media because he wanted that the other users can access the relevant tools for the presentation.

6 0
3 years ago
Question 2 of 3
frozen [14]

Answer: D

Explanation: You don't need to give money, information, or watch any inappropriate content on the gov website. It's safe and all you do is read.

4 0
3 years ago
Read 2 more answers
Other questions:
  • Discuss 2D gameplay and how new platforms such as cell phones are taking advantages of this renewed market
    5·1 answer
  • Required
    12·1 answer
  • An employee at your graphic design firm needs a solid computer that can handle the variety of graphics and animations he works w
    7·2 answers
  • ____ is a real-time Internet communications service that notifies users when one or more people are online and then allows them
    10·1 answer
  • Sequence encryption is a series of encryptions and decryptions between a number of systems, wherein each system in a network dec
    9·1 answer
  • Although implementations vary, reader–writer locks usually block additional readers if a lock is already held in read mode and a
    13·1 answer
  • 1) APPLICATION BASED QUESTION:-
    5·1 answer
  • To format a picture to look like a sketch or a painting you can add a(an)
    13·1 answer
  • Is the following statement valid or invalid? y + 1 = 6​
    8·1 answer
  • Multiple Choice
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!