Coder Social home page Coder Social logo

grades-average's Introduction

Grade Average Calculator

This Python script allows you to input grades and calculates the average once you're done entering them. It utilizes a loop to continuously prompt the user for grades until they decide to stop. How to Use:

Input: Enter grades one by one when prompted. Type 'done' (case insensitive) when you're finished entering grades.

Output: After entering grades, the script will display the list of grades entered and compute the average grade.

Example:

python

Enter a grade (or 'done' to finish): 85 Enter a grade (or 'done' to finish): 92 Enter a grade (or 'done' to finish): 78 Enter a grade (or 'done' to finish): done

The grades entered are: [85.0, 92.0, 78.0] The average grade is: 85.00

Requirements:

Python 3.x

How to Run:

Clone the repository or download the grade_average_calculator.py file.

Open a terminal or command prompt and navigate to the directory containing grade_average_calculator.py.

Run the script by typing python grade_average_calculator.py.

Español Calculadora de Promedio de Notas

Este script en Python te permite ingresar notas y calcula el promedio una vez que hayas terminado de ingresarlas. Utiliza un bucle para solicitar continuamente al usuario las notas hasta que decidan detenerse. Cómo Usar:

Entrada: Ingresa las notas una por una cuando se te solicite. Escribe 'done' (sin importar mayúsculas o minúsculas) cuando hayas terminado de ingresar las notas.

Salida: Después de ingresar las notas, el script mostrará la lista de notas ingresadas y calculará el promedio.

Ejemplo:

python

Ingresa una nota (o 'done' para terminar): 85 Ingresa una nota (o 'done' para terminar): 92 Ingresa una nota (o 'done' para terminar): 78 Ingresa una nota (o 'done' para terminar): done

Las notas ingresadas son: [85.0, 92.0, 78.0] El promedio de las notas es: 85.00

Requisitos:

Python 3.x

Cómo Ejecutar:

Clona el repositorio o descarga el archivo grade_average_calculator.py.

Abre una terminal o línea de comandos y navega al directorio que contiene grade_average_calculator.py.

Ejecuta el script escribiendo python grade_average_calculator.py.

grades-average's People

Contributors

takzuin avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.