A program that repeatedly prompts a user for integer numbers :
biggest = none
smallest = none
while True:
input = raw_input(“Enter a number:”)
if(input == “done” break
try:
number = float(inp)
except ValueError:
print “Please enter only numbers”
else
if smallest is None:
smallest = number;
biggest = number;
elif number < smallest:
smallest = number
elif num > largest:
largest = number
Print “Greatest is “, biggest
Print “Smallest is”, smallest
In this program an input is obtained, if it is equal to the word “done”, then the program stops b printing greatest and smallest number in the given input.
If invalid inputs are given then user is prompted to enter valid number. Otherwise the value of smallest and greatest are calculated according to the input using if-else construct.
Answer:
The answer is below
Explanation:
The various stages in the information processing cycle in the correct order is as follows:
1. Input stage: this is when the data is sent into the computer through the hardware
2. Processing stage: this when the is being refined in the central processing unit of the computer
3. Storage stage: this is when the data is being saved or stored in the computer memory such as Hard drive or external storage such as Flash drive
4. Output stage: this is when the refined or processed data is produced to the user either through the monitor screen or printing
Answer:
La producción industrial a gran escala, especialmente de alimentos. ... El desarrollo de nuevas industrias como la textil, la siderúrgica (metales) o la minera. La sustitución del hierro por el acero, un material más duro y resistente.
Espero que esto sirva!
A. How many marathons you have run, because it doesn't relate to the job you're applying for.
Answer:
The ignition delay in a diesel engine is defined as the time interval between the start of injection and the start of combustion. This delay period consists of (a) physical delay, wherein atomisation, vaporization and mixing of air fuel occur and (b) of chemical delay attributed to pre-combustion reactions. Physical and chemical delays occur simultaneously.
Hope This Helps! Have A Nice Day!!