AI Basics with AK

Season 02 - Introduction to Python Programming

Arun Koundinya Parasa

Episode 01

Why Python ?

Agenda

  • Growth of Python
  • Advantages of Python
  • Use Cases and Popular Libraries
  • Simple Hello World Program
  • Other Examples
  • Resources to learn Python
  • Tools we use

Growth of Python

  • Fastest Growing Programming Langauge
  • Became the official teaching language in major universities

Link

Advantages of Python

  • Most popular tool in data science
  • Good general purpose high-level language program.
  • Objected Oriented Programming.
  • It is Free!!!!
  • Community and Documentation.

Simple ‘Hello World’ Program

print("Hello, World!")
Hello, World!
def hello_world():
    print("Hello, World!")

# Call the function
hello_world()
Hello, World!

Simple Operators

100+100
200
x = 9 * 9
print(x)
81
x = 300 - x
print(x)
219

Other Example

for countdown in 5, 4, 3, 2, 1, "0":
    print(countdown)
5
4
3
2
1
0
for countdown in 5, 4, 3, 2, 1, "0":
  if countdown == "0":
    print("Got You")
Got You

Resources to learn Python

Tools to Use - Live Demo

  • VS Code
    • A lightweight and versatile code editor that supports seamless integration with multiple tools, enhancing your development workflow.
  • Google Colab
    • Operates in the cloud, eliminating the need for physical installations on laptops or computers. Additionally, it provides the flexibility to work on projects even from tablets, offering a convenient and accessible platform.

Thank You

Lets see the tools!