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 (if statements, loops). It also covers lists, dictionaries, functions, and string manipulation techniques. Additionally, it discusses how to implement solutions such as calculating the sum of even numbers and using random number generation.

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 (if statements, loops). It also covers lists, dictionaries, functions, and string manipulation techniques. Additionally, it discusses how to implement solutions such as calculating the sum of even numbers and using random number generation.

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