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
AleksAgata [21]
3 years ago
12

Write a program to input 6 numbers. After each number is input, print the biggest of the numbers entered so far.

Engineering
1 answer:
likoan [24]3 years ago
4 0

Answer:

P<u>rogram:</u>

# Enter Numbers #

number1 = int(input("Enter number: " ))

print("Largest: " + string(number1))

#for num 2 #

number2 = int(input("Enter a number: "))

if number2 > number1:

 print("Largest: " + string(number2))

else:

 print("Largest: " + string(num1))

#for num 3 #

number3 = int(input("Enter a number: "))

print("Largest: " + string(max(number1, number2, number3)))  

#for num 4 #

number4 = int(input("Enter a number: "))

print("Largest: " + string(max(number1, number2, number3, number4)))

#for num 5 #

number5 = int(input("Enter a number: "))

print("Largest: " + string(max(number1, number2, number3, number4, number5)))

#for num 6 #

number6 = int(input("Enter a number: "))

print("Largest: " + string(max(number1, number2, number3, number4, number5, number6)))        

# END #

You might be interested in
Your study space does not need to be quiet as long as you can ignore any noise coming from the space true or false?
Makovka662 [10]

Answer:

False

Explanation:

When you're studying, you need to make sure that you can focus properly. This means that you shouldn't be hungry or too full and that you should be well-rested, in a quiet room with good lighting and no distractions. Noise is never good when you need to memorize something. Some people can partially ignore it as long as it isn't too loud, but it will begin to bother them eventually. That's why it's better to study in a quiet room.

3 0
2 years ago
Read 2 more answers
Is a jeep cherokee faster than a bmw 325i
soldier1979 [14.2K]

Answer:

Yes

Explanation:

8 0
3 years ago
Read 2 more answers
3) Explain how dc machines Can work as motor and generator​
weeeeeb [17]

The working principle of a DC machine is when electric current flows through a coil within a magnetic field, and then the magnetic force generates a torque that rotates the dc motor. The DC machines are classified into two types such as DC generator as well as DC motor.

5 0
1 year ago
Which of the following conditions were present in over 80% of paddling fatalities from 1995-2000?
Minchanka [31]

Answer:

80% of the people that were killed weren't wearing a safety flotation device ( in correct terminology Personal Flotation Device, or PFD )

Explanation:

Hence they drowned due to the lack of safety.

3 0
3 years ago
Question 9.1 from the textbook. Consider the following workload: Process Burst Time Priority Arrival Time P1 50 4 0 P2 20 1 20 P
Marizza181 [45]

Answer:

Explanation:

The schedule using shortest remaining time, non-preemptive priority and round Robin with quantum number 30 is shown in the attached file, please kindly go through it to access the answer.

5 0
3 years ago
Other questions:
  • Different types of steels contain different elements that alter the characteristics of the steel. For each of the following elem
    6·1 answer
  • Explain the differences among sand, silt, and clay, both in their physical characteristics and their behavior in relation to bui
    15·1 answer
  • List two common units of measurement to describe height
    5·2 answers
  • An aircraft component is fabricated from an aluminum alloy that has a plane strain fracture toughness of 40 MPa . It has been de
    7·1 answer
  • 4. At what temperature does an engine run cleanest with least wear?
    11·1 answer
  • What are the coordinates of the centroid of this figure?
    5·1 answer
  • A two-bus power system is interconnected by one transmission line. Bus 1 is a generator bus with specified terminal voltage magn
    6·1 answer
  • Quelles sont les types de carburant utilisés en aviation
    15·1 answer
  • The minimum recommended standards for the operating system, processor, primary memory (RAM), and storage capacity for certain so
    12·2 answers
  • As a worker in this field you would:
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!