0% found this document useful (0 votes)
14 views9 pages

Beginner Python Programming Basics

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views9 pages

Beginner Python Programming Basics

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Day 1: Introduction to Python

Programming
Beginner Level Course
What is Python?

• High-level, interpreted programming language


• Simple syntax – easy to learn and use
• Widely used in web development, data science, AI, and more
• Supports multiple programming paradigms
Why Learn Python?

• Beginner-friendly language
• Huge community and library support
• Used by top companies like Google, NASA, and Netflix
• Great for automation, web, and data projects
Installing Python

• Visit [Link] to download


• Choose latest version (3.x) for your OS
• Install IDLE (comes with Python) or use online IDEs
• Check installation with: python --version
Writing Your First Program

• Open IDLE or your text editor


• Type: print("Hello, World!")
• Save the file as [Link]
• Run from terminal: python [Link]
Python Syntax Basics

• Case-sensitive language (Print ≠ print)


• Indentation is important (use 4 spaces)
• No need for semicolons (;) or curly braces {}
• Statements end with a new line
Variables and Data Types

• Variables store data (e.g., name = 'John')


• Data types: int, float, str, bool
• Type can change dynamically
• Use type() to check a variable’s type
Taking User Input

• Use input() function to get input from user


• Example: name = input("Enter your name: ")
• Input is always a string (str) by default
• Use int() or float() to convert types
Day 1 Summary

• Learned basics of Python and its uses


• Installed Python and ran a sample script
• Explored syntax, variables, and input()
• Next: Operators, Conditions, and Loops

You might also like