0% found this document useful (0 votes)
3 views11 pages

Python

The document outlines various programming concepts including variables, data types (ints, floats, strings, booleans), and control structures such as if statements and loops. It also covers lists and dictionaries, along with operations like adding, inserting, and deleting elements. Additionally, the document discusses functions, parameters, and handling user input.

Uploaded by

umesh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views11 pages

Python

The document outlines various programming concepts including variables, data types (ints, floats, strings, booleans), and control structures such as if statements and loops. It also covers lists and dictionaries, along with operations like adding, inserting, and deleting elements. Additionally, the document discusses functions, parameters, and handling user input.

Uploaded by

umesh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Variables

2127

Ints and floats

Strings
Using variables in strings

Booleans and if statements

Comparison and else


Odd even

Picking random numbers

Choosing what fortune to show


List

List: add, insert,delete


For loop
Dictionaries
Solution: sum of all evens

Splitting a string
Functions
Parameters

Return
Comments

Input

You might also like