Skip to content

nerdKaiser/python_assignment_week2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

README.md for Python List Operations Assignment

Project Overview

This project demonstrates fundamental list operations in Python, including appending, inserting, extending, removing, sorting, and finding the index of specific values.

Code Structure

This repository contains a single Python script named list_operations.py which performs all the mentioned operations.

Key Operations

  1. Appending Elements: Add items to the end of the list
  2. Inserting at a Specific Index: Add an item at a specific position
  3. Extending with Another List: Combine two lists
  4. Removing Last Element: Remove the last element from the list
  5. Sorting: Arrange list in ascending order
  6. Finding Index of Value: Locate the position of a specific value in the list

Running the Code

To execute the program:

  1. Clone or download the repository.
  2. Open a terminal/command prompt.
  3. Navigate to the directory containing list_operations.py.
  4. Run python list_operations.py.

Expected Output

After running the script, it will output the state of the list after each operation has been performed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages