Learn Python
Here are simple python codes to learn python and apply for data analysis.
You can can simple python complier to run the code
# is for comments so python moves to next line, using # to comment code is very useful.
# Code by Dr.K
# Simple Python code to start
# this code is for simple mathematical function
num_a=10
# num_a get the value of 10
num_b=13
# num_b get the value of 13
num_c=num_a*num_b
# num_c is value of multiplying num_a and num_b
print("num_c =", num_c)
# prints the value of num_c
## Khayyam - Pascal Triangle
print(" 1")
print(" 1 2 1")
print(" 1 3 3 1")
print(" 1 4 6 4 1")