Python Tutorials for Beginners - Learn Python Online

Programming with Mosh • October 22, 2018
Video Thumbnail
Programming with Mosh Logo

Programming with Mosh

@programmingwithmosh

About

Hi! I'm Mosh 👋, a software engineer with over 20 years of experience. I'm all about clear, concise, practical coding tutorials – no fluff, just the good stuff! My courses focus on real-world projects and the skills that will get you hired. I've helped millions of students transform their careers. Want to level up your skills? Subscribe and hit the bell to get notified when I upload new videos! For sponsorships: [email protected]

Video Description

Watch my BRAND NEW Python tutorial with projects: https://youtu.be/_uQrJ0TkZlc Looking for Python tutorials for beginners? Watch this video to learn Python online. 🔥Subscribe for more Python tutorials for beginners: https://goo.gl/6PYaGF 🔥Get my COMPLETE Python course: https://bit.ly/35BLHHP - Python Exercises for Beginners: https://goo.gl/1XnQB1 - Python 3 Cheat Sheet: https://goo.gl/Jeu29b Want to learn more from me? Check out my blog and courses: http://programmingwithmosh.com https://www.facebook.com/programmingwithmosh/ https://twitter.com/moshhamedani These days everybody is learning Python 3 because it’s the most popular programming language. If you’re looking for a Python course that teaches you the fundamentals of Python, you’ve come to the right place. This video shows you Python applications as well as python salaries. If you’re looking for a programming job to make more money, Python is the best programming language to learn first. TABLE OF CONTENT 00:00:00 What is Python? 00:03:22 Installing Python 00:05:15 Python Interpreter 00:07:12 Code Editors 00:08:32 Your First Python Program 00:12:11 Python Extensions 00:15:04 Linting Python Code 00:19:20 Formatting Python Code 00:23:16 Running Python Code 00:26:17 Quiz 00:28:41 Variables 00:31:48 Variable Names 00:34:52 Strings 00:40:24 Escape Sequences 00:43:06 Formatted Strings 00:45:16 String Methods 00:51:13 Numbers 00:54:01 Working with Numbers 00:56:12 Type Conversion 01:01:18 Quiz 01:04:03 Comparison Operators 01:06:09 Conditional Statements 01:10:20 Ternary Operator 01:12:31 Logical Operators 01:16:35 Short-circuit Evaluation 01:18:44 Chaining Comparison Operators 01:20:08 Quiz 01:21:53 For Loops 01:25:32 For..Else 01:28:21 Nested Loops 01:31:07 Iterables 01:34:17 While Loops 01:39:18 Infinite Loops 01:40:57 Exercise 01:43:04 Defining Functions 01:45:30 Arguments 01:47:53 Types of Functions 01:51:57 Keyword Arguments 01:53:59 Default Arguments 01:55:36 *args 01:59:53 **args 02:02:15 Scope 02:07:26 Debugging 02:14:18 VSCode Coding Tricks (Windows) 02:16:41 VSCode Coding Tricks (Mac) 02:18:32 Exercise 02:20:03 Solution

Coding Setup Essentials

AI-recommended products based on this video

Loading...
65W 45W Laptop Charger for Acer Aspire 3 5 A515-55 A515-56 A515-46 A515-54 A515-54G A517-52 Swift Spin 1 3 5 SF113-31 SF114-32 Chromebook 11 R11 13 14 15 CB3 C720 C720P Power Adapter

65W 45W Laptop Charger for Acer Aspire 3 5 A515-55 A515-56 A515-46 A515-54 A515-54G A517-52 Swift Spin 1 3 5 SF113-31 SF114-32 Chromebook 11 R11 13 14 15 CB3 C720 C720P Power Adapter

(64)
$19.98
FREE delivery Sun, Jun 15 on your first order
Loading...
Laptop AC Charger for Acer Aspire 5 A515 A515-56 A515-56T A515-55 A515-54 A515-46 A515-45 A515-44 A514-52G A515-57 A514-54 Laptop

Laptop AC Charger for Acer Aspire 5 A515 A515-56 A515-56T A515-55 A515-54 A515-46 A515-45 A515-44 A514-52G A515-57 A514-54 Laptop

(5)
$25.99
FREE delivery Sun, Jun 15 on your first order
Loading...
45W Charger for Acer Aspire 5 A515-55 A515-54 A515-56 A515-56T A515-57 A514-52G A514-54 A515-46 A515-44 A515-45 Laptop Power Supply Adapter

45W Charger for Acer Aspire 5 A515-55 A515-54 A515-56 A515-56T A515-57 A514-52G A514-54 A515-46 A515-44 A515-45 Laptop Power Supply Adapter

(2)
$20.90
FREE delivery Sun, Jun 15 on your first order
Loading...
65W AC Charger Fit for Acer Aspire 5 1 Series A515 A515-53 A515-53G A515-52 A515-52G A515-52K A515-51 A515-51G A515-41G A515-43 A515-43G A517-51 A517-51G A114-31 A114-32 A111-31 A111-32 Laptop

65W AC Charger Fit for Acer Aspire 5 1 Series A515 A515-53 A515-53G A515-52 A515-52G A515-52K A515-51 A515-51G A515-41G A515-43 A515-43G A517-51 A517-51G A114-31 A114-32 A111-31 A111-32 Laptop

(12)
$23.99
FREE delivery Sun, Jun 15 on your first order
Loading...
Razer BlackShark V2 X Gaming Headset: 50mm Drivers - Cardioid Mic - Memory Foam Cushion - Lightweight- Comfortable, Noise Isolating Earcups - for PC, PS4, PS5, Switch - 3.5mm Audio Jack - Black ECOLOGO

Razer BlackShark V2 X Gaming Headset: 50mm Drivers - Cardioid Mic - Memory Foam Cushion - Lightweight- Comfortable, Noise Isolating Earcups - for PC, PS4, PS5, Switch - 3.5mm Audio Jack - Black ECOLOGO

(17,449)
$54.98$48.21
FREE delivery Mon, Jan 26
3K+ bought in past month
Loading...
Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

(48,912)
$15.99$12.79
FREE delivery Wed, Feb 18 on your first order
1K+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

(35,879)
$49.99$44.99
FREE delivery Mon, Jan 26
1K+ bought in past month
Loading...
Logitech G502 Hero High Performance Wired Gaming Mouse, Hero 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC/Mac, Black

Logitech G502 Hero High Performance Wired Gaming Mouse, Hero 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC/Mac, Black

(55,508)
$49.98$44.98
FREE delivery Thu, Jan 29
2K+ bought in past month
Loading...
NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

(2,807)
$181.49
FREE delivery Sun, Aug 10
Loading...
G-Anica Laptop Computer(10.1 inch), Quad Core Powered by Android 12.0, Netbook Computer with WiFi, Webcam and Bluetooth, Mini Laptop with Bag, Mouse, and Mouse Pad for Kids and Adults(Pink)

G-Anica Laptop Computer(10.1 inch), Quad Core Powered by Android 12.0, Netbook Computer with WiFi, Webcam and Bluetooth, Mini Laptop with Bag, Mouse, and Mouse Pad for Kids and Adults(Pink)

(134)
$189.00
FREE delivery Sun, Jun 15
Loading...
Kriture Mouse Pad with Stitched Edge, Non-Slip Rubber Base, Premium-Textured and Waterproof Mousepad for Computers, Laptop, Office and Home, 10.2x8.3inches, 3mm, Black
Best Seller

Kriture Mouse Pad with Stitched Edge, Non-Slip Rubber Base, Premium-Textured and Waterproof Mousepad for Computers, Laptop, Office and Home, 10.2x8.3inches, 3mm, Black

(3,132)
$7.99
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
Dell 27 Plus 4K Monitor - S2725QS - 27-inch 4K (3840 x 2160) 120Hz 16:9 Display, IPS Panel, AMD FreeSync Premium, sRGB 99%, Integrated Speakers, 1500:1 Contrast Ratio, Comfortview Plus - Ash White

Dell 27 Plus 4K Monitor - S2725QS - 27-inch 4K (3840 x 2160) 120Hz 16:9 Display, IPS Panel, AMD FreeSync Premium, sRGB 99%, Integrated Speakers, 1500:1 Contrast Ratio, Comfortview Plus - Ash White

(13)
$309.99$297.59
FREE delivery Tue, Oct 7
200+ bought in past month
Loading...
Dell S2425HS Monitor - 23.8 Inch, FHD (1920x1080) Display, 100Hz Refresh Rate 1500:1 Contrast Ratio, TÜV Rheinland Eye Comfort 4 Star, Integrated 2x5W Speaker, Height/Tilt/Swivel/Pivot - Ash White

Dell S2425HS Monitor - 23.8 Inch, FHD (1920x1080) Display, 100Hz Refresh Rate 1500:1 Contrast Ratio, TÜV Rheinland Eye Comfort 4 Star, Integrated 2x5W Speaker, Height/Tilt/Swivel/Pivot - Ash White

(15)
$139.99
FREE delivery Tue, Oct 7
300+ bought in past month
Loading...
Kado 15.6 Inch Portable Monitor Case Sleeve Bag Made for Sceptre Kado MNN KYY InnoView Yxk ForHelp AYY VisionOwl Yodoit Uperfect ViewSonic ASUS Dell Lenovo 15.6" Portable Display Monitors 15.55"x9.25"

Kado 15.6 Inch Portable Monitor Case Sleeve Bag Made for Sceptre Kado MNN KYY InnoView Yxk ForHelp AYY VisionOwl Yodoit Uperfect ViewSonic ASUS Dell Lenovo 15.6" Portable Display Monitors 15.55"x9.25"

(15)
$61.81
FREE delivery Aug 12 - 14
Loading...
tomtoc 360 Protective Laptop Sleeve for 15.6 Inch Acer Aspire 1/3/5 15 Slim Laptop, 15.6-16 Inch ASUS Strix G16/G15, HP Pavilion 15, Lenovo Ideapad 3 Laptop, 15.6 Inch Dell Samsung Notebook Ultrabook

tomtoc 360 Protective Laptop Sleeve for 15.6 Inch Acer Aspire 1/3/5 15 Slim Laptop, 15.6-16 Inch ASUS Strix G16/G15, HP Pavilion 15, Lenovo Ideapad 3 Laptop, 15.6 Inch Dell Samsung Notebook Ultrabook

(3,132)
$37.59
FREE delivery Sat, Jun 21
Loading...
tomtoc 360 Protective Laptop Sleeve for 15.6 Inch Acer Aspire 1/3/5 15 Slim Laptop, 15.6-16 Inch ASUS Strix G16/G15, HP Pavilion 15, Lenovo Ideapad 3 Laptop, 15.6 Inch Dell Samsung Notebook Ultrabook

tomtoc 360 Protective Laptop Sleeve for 15.6 Inch Acer Aspire 1/3/5 15 Slim Laptop, 15.6-16 Inch ASUS Strix G16/G15, HP Pavilion 15, Lenovo Ideapad 3 Laptop, 15.6 Inch Dell Samsung Notebook Ultrabook

(3,132)
$37.59
FREE delivery Sat, Jun 21
Loading...
Laptop Sleeve Case 11–14 Inch MacBook Air MacBook Pro Surface Laptop Dell XPS 13 HP Envy Pavilion Lenovo Yoga Slim IdeaPad Acer Swift Chromebook Samsung Galaxy Book Shockproof Leather Bag Colour Blue

Laptop Sleeve Case 11–14 Inch MacBook Air MacBook Pro Surface Laptop Dell XPS 13 HP Envy Pavilion Lenovo Yoga Slim IdeaPad Acer Swift Chromebook Samsung Galaxy Book Shockproof Leather Bag Colour Blue

(98)
$81.45
Loading...
Lacdo 360° Protective 16 Inch Laptop Sleeve Case for 16 Inch HP Lenovo ASUS Acer Dell Laptop/HP Pavilion Envy/Lenovo ThinkPad IdeaPad/Acer Swift/ASUS Vivobook/Dell Computer Bag, Blue Global Recycled Standard

Lacdo 360° Protective 16 Inch Laptop Sleeve Case for 16 Inch HP Lenovo ASUS Acer Dell Laptop/HP Pavilion Envy/Lenovo ThinkPad IdeaPad/Acer Swift/ASUS Vivobook/Dell Computer Bag, Blue Global Recycled Standard

(26,749)
$29.99$21.66
FREE delivery Sat, Jun 21 on your first order
Loading...
MSI PRO MP273QW E2 AMZ 27-inch IPS 2560 x 1440 (QHD) Computer Monitor, 100Hz, Adaptive-Sync, HDMI, VESA Mountable, Tilt, Speaker, 1ms, White

MSI PRO MP273QW E2 AMZ 27-inch IPS 2560 x 1440 (QHD) Computer Monitor, 100Hz, Adaptive-Sync, HDMI, VESA Mountable, Tilt, Speaker, 1ms, White

(47)
$169.99
FREE delivery Jan 13 - Feb 6
50+ bought in past month
Loading...
KOORUI 27-inch IPS WQHD (2560 x 1440) Computer Monitor, 100Hz, AdaptiveSync, HDMI, DP Port, Tilt, VESA Mountable, Eye Care, 2K PC Monitor for Gaming and Working, Black, E2721F

KOORUI 27-inch IPS WQHD (2560 x 1440) Computer Monitor, 100Hz, AdaptiveSync, HDMI, DP Port, Tilt, VESA Mountable, Eye Care, 2K PC Monitor for Gaming and Working, Black, E2721F

(3,892)
$169.99$152.99
FREE delivery Sun, Aug 10
50+ bought in past month
Loading...
MSI PRO MP271A E2 27-inch IPS 1920 x 1080 (FHD) Gaming Office Monitor, 120Hz, Free-Sync, HDMI, DisplayPort, VGA Port, VESA Mountable, Tilt, Speaker, 4-Side Slim Bezel 1ms, Black

MSI PRO MP271A E2 27-inch IPS 1920 x 1080 (FHD) Gaming Office Monitor, 120Hz, Free-Sync, HDMI, DisplayPort, VGA Port, VESA Mountable, Tilt, Speaker, 4-Side Slim Bezel 1ms, Black

(360)
$199.99$114.99
$30.75 delivery Jan 7 - 8
200+ bought in past month
Loading...
MSI PRO MP275W E2 27-inch IPS 1920 x 1080 (FHD) Gaming Office Monitor, 120Hz, Free-Sync, HDMI, DisplayPort, VGA Port, VESA Mountable, Tilt, Speaker, 4-Side Slim Bezel 1ms, White

MSI PRO MP275W E2 27-inch IPS 1920 x 1080 (FHD) Gaming Office Monitor, 120Hz, Free-Sync, HDMI, DisplayPort, VGA Port, VESA Mountable, Tilt, Speaker, 4-Side Slim Bezel 1ms, White

(360)
$129.99
FREE delivery Wed, Jan 7
Loading...
Bose QuietComfort Wireless Noise Cancelling Headphones, Bluetooth Over Ear Headphones with Up to 24 Hours of Battery Life, Moonlight Grey - Limited Edition

Bose QuietComfort Wireless Noise Cancelling Headphones, Bluetooth Over Ear Headphones with Up to 24 Hours of Battery Life, Moonlight Grey - Limited Edition

(12,251)
$269.00
FREE delivery Tue, Oct 14
Loading...
Sony WH-CH720N Noise Cancelling Wireless Headphones Bluetooth Over The Ear Headset with Microphone and Alexa Voice Control, Black
Best Seller

Sony WH-CH720N Noise Cancelling Wireless Headphones Bluetooth Over The Ear Headset with Microphone and Alexa Voice Control, Black

(10,648)
$148.00$118.10
PrimeFREE delivery Sat, Jun 14
500+ bought in past month