Studylib
Documents Flashcards Chrome extension
Login
Upload document Create flashcards
Login
Flashcards Collections
Documents
Last activity
My documents
Saved documents
Profile
Add to collection(s) Add to saved
  1. No category
Uploaded by dhterno94

Amadou 4 4.py

advertisement
Project: NumberSeries.py
Author: kanahiriyan tolesa
Find the sum and average of a string of numbers
"""
sum = 0
count = 0
while True:
number = input("Enter a number or press Enter if you want to
quit: ")
if number == "":
break
sum += float(number)
count += 1
print("The sum is", sum)
if count > 0:
print("The average is", sum / count)
Related documents
Discussion Questions - 2022.docx
Discussion Questions - 2022.docx
CS 2316 Pair Recitation Assignment
CS 2316 Pair Recitation Assignment
CSIS 10A  Assignment 6 Select 10 Points from below
CSIS 10A Assignment 6 Select 10 Points from below
BlockBusters Template
BlockBusters Template
Density PP
Density PP
Computer Science Python Basics
Computer Science Python Basics
STUST Improving Listening & Speaking Skills Unit 3 (Notes) Free Time P29.
STUST Improving Listening & Speaking Skills Unit 3 (Notes) Free Time P29.
Base C++ Practice week 15 2
Base C++ Practice week 15 2
Solutions to End of Chapter Problems
Solutions to End of Chapter Problems
Density
Density
Designing Floats Student Instructions Name__________________ Instructions:
Designing Floats Student Instructions Name__________________ Instructions:
Programming Project #1
Programming Project #1
589 Mod-3-Individual Assignment
589 Mod-3-Individual Assignment
Materials:  1.  Each child chooses a classroom object and estimates... cutting a string the estimated length.
Materials: 1. Each child chooses a classroom object and estimates... cutting a string the estimated length.
Density Website handout-Teacher Key
Density Website handout-Teacher Key
state float
state float
Quick Drills - All Alphabet
Quick Drills - All Alphabet
Music Class wHOLE NUMBER INTERVAL RATIOS
Music Class wHOLE NUMBER INTERVAL RATIOS
Assignment
Assignment
Parallelism PowerPoint Slide Worksheet
Parallelism PowerPoint Slide Worksheet
Clauses Excercise
Clauses Excercise
FR 15B1 Ans
FR 15B1 Ans
Download
advertisement
Add this document to collection(s)

You can add this document to your study collection(s)

Sign in Available only to authorized users
Add this document to saved

You can add this document to your saved list

Sign in Available only to authorized users
Products
Documents Flashcards Extension Grammar checker Examplum - Context Dictionary
Support
Report Partners
© 2013 - 2023 studylib.net all other trademarks and copyrights are the property of their respective owners
DMCA Privacy Terms

Make a suggestion

Did you find mistakes in interface or texts? Or do you know how to improve StudyLib UI? Feel free to send suggestions. Its very important for us!

 

Suggest us how to improve StudyLib

(For complaints, use another form )

Input it if you want to receive answer

Rate us