filmov
tv
Python Problems for Beginners - Summing all numbers to N (Learn Python #1)

Показать описание
#python #numpy
In this video, part of a new series I show you how to solve a simple Python problem using three different solutions, and while making sure we write unit tests. A good habit to learn from early on.
This is our warm-up exercise, more to come!
DON'T KNOW PYTHON?
Probably the most popular Python Course is a course by Dr. Chuch Severance from the University of Michigan available on Coursera. If I was starting to learn Python today, he would be my first stop:
Python for Everybody
I will get an affiliate commission if you sign up for the course at no cost to you. That's one small way in which you can support the channel.
BLOG ARTICLE + SOURCE CODE:
CONTACT ME FOR CONSULTING AND ANY OTHER BUSINESS ENQUIRIES
SUPPORT THE CHANNEL or get MENTORING
FOLLOW ME
My Equipment:
If you are curious about what equipment I use and you want to support the channel, feel free to check my affiliate links. This means that, at zero cost to you, I will earn an affiliate commission if you click through the link and finalize a purchase.
Samsung 970 Evo Plus SSD 2TB - M.2
COMPONENTS FOR RTX 3090 DEEP LEARNING PC COMPONENTS(Affiliate Links)
AMD Ryzen 5900X CPU
ASUS TUF Gaming NVIDIA GeForce RTX 3060 OC Edition Graphics Card, 12GB GDDR6
EVGA GeForce RTX 3090 Ultra Gaming, 24GB GDDR6X, ARGB LED, Metal Backplate, 24G
ASUS ROG Strix X570-E Gaming ATX Motherboard, AMD Socket AM4
Corsair iCUE H150i PRO XT RGB Liquid CPU Cooler (360mm)
NZXT Kraken Z73 360mm AIO LIquid Cooler RGB CPU
Crucial Solid State Drive 1TB
Samsung 970 Evo Plus SSD 1TB - M.2
PC Case - Phanteks Eclipse P600S
Memory - Corsair Vengeance RGB Pro 32GB (2x16GB) DDR4 3600- Black
Corsair RM850, RM Series, 80 Plus Gold Certified, 850 W Fully-Modular ATX Power Supply
SAMSUNG 34-Inch CJ791 Ultrawide Curved Gaming Monitor, White
Logitech K780 Multi-Device Wireless Keyboard
Timestamps:
0:00 Introduction
1:00 Writing the python unit tests first
7:00 Solution 1) Sum all numbers up to N using recursion
10:20 Solution 2) Sum all numbers up to N using range() function
In this video, part of a new series I show you how to solve a simple Python problem using three different solutions, and while making sure we write unit tests. A good habit to learn from early on.
This is our warm-up exercise, more to come!
DON'T KNOW PYTHON?
Probably the most popular Python Course is a course by Dr. Chuch Severance from the University of Michigan available on Coursera. If I was starting to learn Python today, he would be my first stop:
Python for Everybody
I will get an affiliate commission if you sign up for the course at no cost to you. That's one small way in which you can support the channel.
BLOG ARTICLE + SOURCE CODE:
CONTACT ME FOR CONSULTING AND ANY OTHER BUSINESS ENQUIRIES
SUPPORT THE CHANNEL or get MENTORING
FOLLOW ME
My Equipment:
If you are curious about what equipment I use and you want to support the channel, feel free to check my affiliate links. This means that, at zero cost to you, I will earn an affiliate commission if you click through the link and finalize a purchase.
Samsung 970 Evo Plus SSD 2TB - M.2
COMPONENTS FOR RTX 3090 DEEP LEARNING PC COMPONENTS(Affiliate Links)
AMD Ryzen 5900X CPU
ASUS TUF Gaming NVIDIA GeForce RTX 3060 OC Edition Graphics Card, 12GB GDDR6
EVGA GeForce RTX 3090 Ultra Gaming, 24GB GDDR6X, ARGB LED, Metal Backplate, 24G
ASUS ROG Strix X570-E Gaming ATX Motherboard, AMD Socket AM4
Corsair iCUE H150i PRO XT RGB Liquid CPU Cooler (360mm)
NZXT Kraken Z73 360mm AIO LIquid Cooler RGB CPU
Crucial Solid State Drive 1TB
Samsung 970 Evo Plus SSD 1TB - M.2
PC Case - Phanteks Eclipse P600S
Memory - Corsair Vengeance RGB Pro 32GB (2x16GB) DDR4 3600- Black
Corsair RM850, RM Series, 80 Plus Gold Certified, 850 W Fully-Modular ATX Power Supply
SAMSUNG 34-Inch CJ791 Ultrawide Curved Gaming Monitor, White
Logitech K780 Multi-Device Wireless Keyboard
Timestamps:
0:00 Introduction
1:00 Writing the python unit tests first
7:00 Solution 1) Sum all numbers up to N using recursion
10:20 Solution 2) Sum all numbers up to N using range() function