Python for Beginners Tutorial

In this step-by-step Python for beginners tutorial, learn how you can get started programming in Python. In this video, I assume that you are completely new to programming. We’ll walk through how to get Python, how to run your first code, and how to get an IDE (Integrated Development Environment) to help you code faster. You’ll also learn about variables and how to set them. We’ll look at functions, if statements, while and for loops, and we’ll import libraries. At the end, we’ll also look at how you can troubleshoot your code, for instance, when you run into syntax, semantic, or runtime errors. By the end, you’ll know how to run code and you’ll also understand the basic concepts of programming. My name is Kevin Stratvert and I’ll be your guide to Python. I previously worked at Microsoft for 14 years.

👋 Additional resources:
– Get Python:
– Get Microsoft Visual Studio Code:

⌚ Timestamps
0:00 Introduction
1:25 Why program?
2:18 Why Python?
4:33 Get Python
6:43 Run code in Python terminal
9:13 Write code in a text editor like Notepad
11:59 Get an IDE like Visual Studio Code for free
14:20 Set up VS Code
16:34 Run code in VS Code
18:12 Work with numbers & operators
22:24 Work with text / strings
24:03 Comments
25:37 Variables
32:01 Conditional logic
34:55 If, elif, & else statements
41:14 Functions
54:39 While & for loops
59:00 Import libraries
60:02 Troubleshooting code
62:28 Wrap up

📃 Watch related playlists and videos
– Playlist with all my videos on Python:

🚩 Connect with me on social:
– LinkedIn:
– Twitter:
– Facebook:
– TikTok:

🔔 Subscribe to my YouTube channel

🎬 Want to watch again? Navigate back to my YouTube channel quickly

🛍 Support me with your Amazon purchases:

⚖ As full disclosure, I use affiliate links above. Purchasing through these links gives me a small commission to support videos on this channel — the price to you is the same.


Posted by Contributor