Skip to content

grimmjowESP6/assignment5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Assignment - 5

asst-5.1.py file contains the solution for the first task

  • Creates a dictionary where student names are keys and their marks are values.
  • Asks the user to input a student's name.
  • Retrieves and displays the corresponding marks.
  • If the student’s name is not found, display an appropriate message.

asst-5.2.py file contains the solution for the second task

  • Creates a list of numbers from 1 to 10.
  • Extracts the first five elements from the list.
  • Reverses these extracted elements.
  • Prints both the extracted list and the reversed list.

About

Assignment 5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages