Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
A Brief Introduction to Python
Rating: 4.4 out of 5(206 ratings)
7,890 students

A Brief Introduction to Python

Learn Programming and Python for Free!
Created byScott Cosentino
Last updated 9/2023
English
English [Auto],

What you'll learn

  • Python
  • Variables
  • If Statements
  • While Loops
  • For Loops
  • Lists
  • Functions
  • Writing Files
  • Reading Files
  • Pip

Course content

2 sections11 lectures1h 32m total length
  • Installing Python and Print Statements9:06

    Install the Python interpreter and an integrated development environment, set up the path, use pip, and run a hello world program with print statements.

  • Inputs and Variables6:47

    Explore how to take user input, store values in memory using variables, and print results with the print function in Python, including integers, decimals, strings, booleans, and equality checks.

  • Simple Operations10:12

    Explore manipulating user inputs in Python by converting values to int or float, then perform addition, modulus, exponent, and integer division with assignment operators.

  • Decision Structures and If Statements14:14
  • While Loops4:56

    Learn how while loops repeat a set of instructions until a condition is met, using a counter variable to print numbers from 1 to 10 and incrementing it.

  • Lists11:17

    Explore how to store multiple values with Python lists, learn zero-based indexing, append and insert elements, and iterate with while and for loops, including slicing and negative indices.

  • For Loops5:28

    Explore for loops: use for each to iterate lists and for in range to count values, and see how strings behave like lists, in contrast to while loops.

  • Functions11:12

    learn how to define and use functions in python to organize code, reuse logic, and manage input and output with return values, arguments, and printing.

  • File I/O7:56

    Learn to read and write files in Python using open, read, readlines, and write modes. Close files to manage resources.

  • Pip5:13

    Learn how Python libraries extend functionality, import and manage packages with pip, install and uninstall libraries like requests, and work with virtual environments in PyCharm.

Requirements

  • None, this course is targeted towards new programmers

Description

This course is an introduction to programming and Python. It can serve as a good introduction for those who have little to no programming experience and want to learn more about programming with Python. The following topics are covered in the course:

-Installing Python, setting up an IDE (Pycharm), and printing outputs
-Taking user input, and storing data in variables
-Simple mathematical operations
-If statements
-While Loops
-For Loops
-Lists
-Functions
-File I/O
-Pip package installer

The course also includes two simple exercises to test your knowledge. I welcome any questions you may have, and I'm excited to have you be a part of my class!

Who this course is for:

  • Students looking to start learning programming
  • Students looking to learn the basics of Python