Description
Course Description:
This workshop is made for beginners. In this workshop participants will gain hands-on experience in python through practice sessions and quizzes.
Course Objectives:
In this course we will be working with real-world examples, you’ll learn:
Programming language overview
History of Python
Getting started with Python
Variables in Pythons
Conditional Statements
Control Statements
Functions
Error handling
Trainer: Kavita Bhatia
Course Content
- Introduction
- Why Learn Python?
- List of the most common uses for Python
- Python 2 and Python 3
- Downloading and Installing Python
- Using the Python Shell & IDE
- Hello World! - Writing our First Program
- Syntax and structure
- Whitespace, Indentation and program formatting
- Comments
- Program Construction
- Exercise: Introduction of Python
- Variables and Operators
- Variables and Naming Conventions
- Basic Operators
- Booleans and Chained Comparison Operators
- Exercise: Variables and Operators
- Simple Data Types
- Strings
- Useful String Methods
- Working with Strings
- Numbers: Integers & Floats
- The Difference Between Strings and Numbers
- Type Casting
- Dates and Times
- Exercise: Simple Data Types
- Accepting input from user
- Accept input using Input()
- Using int() to Accept Numerical Input
- Print()
- More Print() Formatting Methods
- Exercise: Making program interactive
- Statements and Loops
- If Statements
- for Loops
- while Loops
- switch statement
- Break & Continue
- Handling Errors with Try & Except
- Exercise: Statements and Loops
- Advanced data types - Lists and Dictionaries
- What is a List?
- Working with Lists
- Printing Lists
- Tuples
- Working with Dictionaries
- Dictionaries vs. Lists
- Nesting
- Built-in functions for lists, tuples and dictionaries
- Exercise Lists and Dictionaries
- Functions
- Variable Scope
- Variable Parameters
- Default Values
- Positional Parameters
- Keyword Parameters
- Multiple Positional/Keyword Parameters
- Introducing Lambdas
- Exwecise: Lists and Dictionaries
Tags: Software Development