boomer81 boomer81
  • 24-11-2020
  • Computers and Technology
contestada

4.2 Code Practice: Question 1
Can someone help me write the code in python language?

Respuesta :

aburdi aburdi
  • 02-12-2020

Answer:

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

sum = number

c = 1

while (sum<=100):

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

   sum = sum + number

   c = c + 1

print("Sum: " + str(sum))

print("Numbers Entered: " + str(c))

Explanation:

Hope this helps lovely :)

Answer Link

Otras preguntas

Decomposition, weathering, vaporization, and combustion all.... A. destroy carbon B. consume carbon C. release carbon D. create carbon Copyright © 2003 - 2022 I
For the purpose of content marketing, the ______ portion of strategic planning focuses on how content marketing can help achieve certain goals and objectives.
A factory inspector found flaws in 4 out of 22 wooden boxes. Considering this data, how many flawed boxes would you expect the inspector to find in a batch of 4
The expression 4w + 7 + 3p + 8x contains how many terms?
Sophia draws a game piece at random from a bag containing 54 game pieces. The bag contains only red pieces, blue pieces, and green pieces. If the 1 probability
Match the following, cylinder rectangular prism cone triangular prism square prism
how can i figure out what im going to do in the future? i have no clue where my life is going to go or what im going to do.
WHAT IS THE ANSWER??? PLEASE QUICKLY
Explain how to find the actual area of logo 2 and the answer of the area. The photo of the measurements are shown below in the photo, the shape is a semicircle
I WILL MAKR BRAINLIEST