0% found this document useful (0 votes)
41 views7 pages

Python: 1 Python Object and Data Structure Basics

This document provides an overview of key topics in Python including: 1) Python object and data structure basics such as numbers, variables, strings, lists 2) Python comparison operators and statements 3) Python methods and functions 4) Object oriented programming in Python 5) Modules and packages in Python 6) Errors and exception handling in Python 7) Python decorators 8) Python generators 9) Advanced Python modules 10) Advanced Python objects and data structures
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views7 pages

Python: 1 Python Object and Data Structure Basics

This document provides an overview of key topics in Python including: 1) Python object and data structure basics such as numbers, variables, strings, lists 2) Python comparison operators and statements 3) Python methods and functions 4) Object oriented programming in Python 5) Modules and packages in Python 6) Errors and exception handling in Python 7) Python decorators 8) Python generators 9) Advanced Python modules 10) Advanced Python objects and data structures
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

PYTHON

1. Python object and data structure basics


2. Python comparison operators
3. Python statements
4. Python methods and functions
5. Object oriented programming
6. Modules and packages
7. Errors and exception handling
8. Python decorators
9. Python generators
10. Advanced python modules
11. Advanced python objects and data structures

1 PYTHON OBJECT AND DATA STRUCTURE BASICS

1 Introduction to Python Data types

2 Numbers
For reminder I use %. It is used to see if I can devide number with two
or not.
2 ** 3 = 8

3 Variable assignments

example = 56 is int
example = 56.4 is float
#Flexible or rather changeable variables.# Combinatiom
down there
4 Introduction to Strings

5 Indexing and Slicing with the Strings


5.1If I am using numbers equal to
zero or higher then I am picking
up character in this direction.

5.2If I am using numbers equal to


zero or lower then I am picking
up character in this direction.

Go from character 2 and include it

Go up to but do not include it.

6 String propertis and methods


7 Print formatting with the
Strings
8 Lists in Python

You might also like