Python Home
Acknowledgement
1
Introduction
1.1
Basics:
1.1.1
Objects vs Data Types
1.1.2
Objects in Python
1.2
Collections
1.2.1
Properties
1.2.2
1. lists
1.2.3
2. tuples
1.2.4
3. Sets
1.2.5
Dictionary
1.2.6
Iterating Over a Dictionary:
1.2.7
Other Operations:
1.3
Data Types
1.3.1
Numeric Types
1.3.2
Other Mathematical Functions:
1.3.3
Converting data types
1.3.4
Strings
1.4
Control Statements
1.4.1
Looping
1.4.2
Looping Extra
2
Pandas Library
2.1
Data Frames
2.1.1
Data frame creation
2.1.2
Read csv files
2.1.3
Data attributes
2.1.4
Create or add a new column
2.1.5
Explore Data
2.2
read data
2.2.1
csv file
2.2.2
xlsx file
2.2.3
rename/assign new column names
2.2.4
Subsetting
2.2.5
copy
3
RANDOM
4
Applications
4.1
Example one
4.2
Example two
4.2.1
no different
5
Final Words
References
Published with bookdown
Python Scratch Book
Chapter 3
RANDOM
i
=
int
(
input
(
"sayi gir = "
))
for
x
in
range
(i
+
1
) :
y
=
x
*
5
print
(x,
"x"
,
5
,
"="
,y)