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
The file that Tristan must open to install and play his new video game is the one with the extension .exe
<h3>What is the .exe extension?</h3>
The .exe extension is a computer extension that refers to the executable file of a computer program.
Generally, video games have the .exe extension to be installed on the computer. In this process the file creates a folder with all the game information.
Once it is installed, create another file with the same extension to run the game, this icon would be the direct access to the game.
Learn more about computers in: brainly.com/question/950632
Answer:
quantum mechanics, weather forecasting, climate research, oil and gas exploration,
Explanation:
PLZ mark brainliest