Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 869 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 869 Bytes

Python_Overview

Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.

More about Lambda

https://www.w3schools.com/python/python_lambda.asp

Operation Can be Perform on List

'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort'

Slicing

slice(start, end, step)

start Optional. An integer number specifying at which position to start the slicing. Default is 0 end An integer number specifying at which position to end the slicing step Optional. An integer number specifying the step of the slicing. Default is 1

a = ("a", "b", "c", "d", "e", "f", "g", "h") x = slice(0, 8, 3) print(a[x])

outside the function are generally know as Global Varibale

ex x=10

inside the function are generally know as local varibale

def lw(): x=9 print(x)