Skip to content

snehadev04/How_to_use_Python_Dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

How_to_use_Python_Dictionary

Dictionaries are used to store data values in key: value pairs.

Python Dictionary Grades

This Python script demonstrates how to use dictionaries to assign grades to students based on their scores. Each student's score is evaluated and assigned a grade according to predefined criteria.

Usage

Run the script. Input the scores of students. The script will assign grades to each student based on their scores. View the grades assigned to each student.

Features

Input scores of students. Assign grades based on score ranges. Display grades for each student.

Requirements

Python 3.x Repository Contents grades.py: Python script containing the code to assign grades. README.md: Readme file providing information about the script and its usage.

How to Run

Clone the repository to your local machine. Navigate to the repository directory. Run the grades.py script using Python.

bash python grades.py

Author Sneha D

About

Simple Python code demonstrating for how to use the Dictionary in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages