How would i do this in python?
Create a program called Lab3B1 that will do the following
β’ A...
Computers and Technology, 27.09.2021 01:00 michellestepp2001
How would i do this in python?
Create a program called Lab3B1 that will do the following
β’ Ask the user to enter an unknown set of integers, and stop when they enter 9999
β’ Add up all the even numbers.
β’ After the loop, print the sum of the even numbers with a label.
This is what I have so far:
data = input("Enter a number or enter 9999 to stop: ")
total=0
while data != "":
number=int(data)
total+= number
data=input("Enter a number or enter 9999 to stop: ")
if data == '9999':
break
Answers: 1
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
Computers and Technology, 23.06.2019 14:30
The basic work area of the computer is it screen that you when you first fire up your computer
Answers: 1
Computers and Technology, 23.06.2019 19:00
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
Social Studies, 02.08.2019 11:30
Health, 02.08.2019 11:30
History, 02.08.2019 11:30
Geography, 02.08.2019 11:30
Spanish, 02.08.2019 11:30
Chemistry, 02.08.2019 11:30
History, 02.08.2019 11:30
Mathematics, 02.08.2019 11:30
History, 02.08.2019 11:30