Python list analysis for beginners is a project made in order to help beginners understand how lists works by applying the most common methods and see changes
Please clone the following git to your python ide and start the terminal in the same dict of the cloned file
git: git clone https://github.com/RaziFalah/python-list-analysis
run the file using the following command
command: python3 list_analysis.py
Select a list type and hit enter
str: short for string and this data type contains everything such as numbers letters and floats
int: short for intger and this data type contains only intger numbers.
float: this data types contanis only Fractional numbers such as 1.5 or 1.0.
Define the list's values number and insert data as asked
inspect the list you inserted and see changes, by this simple task you can understand easly how lists works.
command: append
useg: Add a single element to the end of the list
command clear
useg: remove and clear all elements in the list
command copy
useg: return a clear copy of the list
command count
useg: returns count of the element in the list
command extend
useg: add elements to the list
command index
useg: returns the index of the selected element in the list
command insert
useg: insert an element to the list
command pop
removes the last index by deafult or removes the given index at the parameter holder
command remove
useg: remove items from the list by the given value at the parameter holder
command reverse
reverse the whole list
command sort
sort the whole list by the alphabet or number count includeing floats