Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
An Introduction to Python Programming
Rating: 3.8 out of 5(428 ratings)
21,812 students

An Introduction to Python Programming

Learn the Fundamentals of Procedural, Object-Oriented, and Functional Programming in Python.
Created byRishi Desai
Last updated 10/2018
English
English [Auto],

What you'll learn

  • You will be familiar with basic aspects of Python, including procedural constructs, object-oriented programming, and functional programming.
  • You will develop a solid foundation of computational logic.
  • You will learn about the most important paradigms of computer programming, including object-oriented and functional programming.

Course content

2 sections19 lectures1h 38m total length
  • Operators4:45

    Explore Python operators and expressions by using addition and subtraction, multiplication with the asterisk, and division varieties, including floating point and floor division, exponentiation, modulus, and order of operations.

  • Variables and Data Types3:13

    Learn about variables in Python, a dynamically typed language, and how to declare, print, and inspect data types like int and float, with variables storing values and objects.

  • The String Data Type5:38

    Explore the string data type in Python, including declaring strings with quotes, escape characters, concatenation, printing, immutability, and zero-based indexing to access characters.

  • String Methods5:19

    Explore Python string methods, learn that strings are immutable objects, and use indexing, slicing, len, upper, lower, and membership operators in and not in.

  • Booleans and Conditional Statements6:42

    Explore boolean data types and conditional statements in Python, including true/false values, comparison operators, and if-elif-else flow.

  • Object Equality and Equality Operators5:33

    Explore object equality in python using the equals operator (==), the is operator, operator overloading, and boolean operators and, or, not.

  • The List Data Type5:26

    Explore Python's list data type as a mutable built-in data structure. Apply zero-based indexing, append to add items, concatenate with +, repeat with *, and test membership with in.

  • The Dictionary Data Type5:34

    Learn Python dictionaries, a built-in hash-table for key-to-value mapping stored in curly brackets. Retrieve by key, add or delete entries, and expect instant access with arbitrary order.

  • Indexed For Loops3:32

    Learn how to use for loops in Python with range to iterate numbers and accumulate sums, such as multiples of three up to 1000.

  • While Loops and For-each Loops7:12

    Learn to use while loops and for-each loops in Python, controlling iteration with break and continue, and iterating through lists and dictionaries to process data.

  • Introduction to Functions5:24

    Learn to define and call functions using def, pass parameters, and return values, including multiple arguments and void functions, with examples like f(4) returning 16.

  • Function Arguments and Scope3:15

    Explore Python programming by examining function arguments and scope, including default values, local versus global variables, and the global keyword, with examples using print and range.

  • Raising and Catching Errors5:37

    Learn to read user input with the input function, convert it to a number, and handle value errors with try and except to prevent the program from crashing.

Requirements

  • Prior programming experience in other general-purpose programming languages (Java, C++, etc) is encouraged, but not required.
  • No prior knowledge of programming is required. This course starts with the basics of Python.
  • You can download any version of Python 3.

Description

In this course, you will learn introductory Python programming constructs. You will be exposed to all of the fundamental constructs of programming such as loops, data structures, and operators. You will learn procedural programming first to develop a strong basis of computational logic. Then, you will learn Object-Oriented Programming (OOP) and functional programming. Altogether, this course will unlock the doors to learn GUI development, conduct computer science research, and begin website development in Python.

Who this course is for:

  • Students with a passion for learning, and those who enjoy working with computers.
  • This course is for beginner programmers little or no experience.
  • Students interested in different paradigms of computer programming