Answer:
widgets=float(input("Enter number of widgets you want to buy"))
if widgets<0:
print("Can't compute negative number")
else:
if widgets<100:
cost=widgets*25
else:
cost=widgets*20
print("The total cost of widgets is", cost,"cents")
Explanation:
First I made a variable called widgets to take input of the number of widgets the customer wants to buy. I use the first comditional statement to test if the number of items typed in is not less than zero.
The else statement computed the prices of widgets based on number of widgets greater than zero.
Another conditional statement to check if the widgets is lower that 100 or greater. The cost represents the total amount, in terms of cost it will take for some nuber of widgets.
The last line prints the total cost and some statments
Answer:
honestly i dont know but I used to have computer programming classes on java and I'd get all my answers from repl.it forums. Wist you best of luck!!
Answer:
Explanation:
Phishing is one of the most dangerous threats to your online accounts and data, because these kind of exploits hide behind the guise of being from a reputable company or person, and use elements of social engineering to make victims far more likely to fall for the scam. What are some examples of phishing?Examples of Different Types of Phishing AttacksPhishing Email. Phishing emails still comprise a large portion of the world's yearly slate of devastating data breaches. ...Spear Phishing. Link Manipulation. ...Fake Websites.CEO Fraud. ...Content Injection. ...Session Hijacking. ...Malware.
<em>your </em><em> </em><em>answer </em>A high level language is a computer programming language that resembles natural language or mathematical notation.
Technician B because unless you apply resistors or somehow change it yourself, the amperage will not change.