Skip to content

This project enables a user to enter an infinite number of integers, then prints out some information regarding those inputs. This program prompts the user to enter in as many numbers as he/she wants, until the user inputs a zero. This loop runs until the sentinel value is entered. Then, some statistics are printed to the screen.

Notifications You must be signed in to change notification settings

Python-Coding-Assignments/Numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

e218516fb589993da767699eb4162b2d

Table of Contents
  1. About the Project
  2. Getting Started
  3. Contact

About the Project

This project enables a user to enter an infinite number of integers, then prints out some information regarding those inputs. This program prompts the user to enter in as many numbers as he/she wants, until the user inputs a zero. To do this, a loop is needed; this loop runs until the sentinel value is entered. Afterwards, some statistics of the user's inputs is displayed.

The objective of this program is to demonstrate the following:

  • practice writing a short Python program
  • utilize conditional statements and a loop to accomplish a task
  • further display knowledge of basic Python arithmetic

This program assumes that the user will enter a valid input each time the program requests an integer value. The program's output will result in unknown behavior if anything other than an integer is entered by the user.

Getting Started

To run the program, download the contents of the project and simply run make in the terminal.

Contact

Name: Garrett Ellis
Project Link: https://github.com/Python-Coding-Assignments/Numbers

About

This project enables a user to enter an infinite number of integers, then prints out some information regarding those inputs. This program prompts the user to enter in as many numbers as he/she wants, until the user inputs a zero. This loop runs until the sentinel value is entered. Then, some statistics are printed to the screen.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published