30 Days of Python - Day 5 - Conditionals & Control Flow - Python TUTORIAL

preview_player
Показать описание
Day 5 - Conditionals & Control Flow

In 30 Days of Python, I'll teach you the fundamentals of Python. We created this series as an introduction to programming with Python.

Why Python? It's a very popular way to writing computer programs and automations with board applications: SpaceX & NASA use it to launch rockets, Tesla with autonomous driving, Instagram as a web app backend, Intel to pilot drones/UAVs, and many many others.

What you can do with Python is nearly endless:

Run powerful web applications
Fly drones and launch rockets
Run autonomous robots like drones and self-driving cars
Build connected systems with Arduino and Raspberry PI
Automate business intelligences and perform financial analysis
Machine learning including deep learning
And many more ways
That list is fancy but don't let it scare you. Python is just a tool for writing a series of step-by-step automation rules and that's exactly what software is: a collection of rules for a computer to follow.

The right tools in the right hands can impact the world in such amazing ways.

Shakespeare had very few tools for writing plays and yet he continues to influence our entertainment despite being long gone. Creativity mixed with the right tools can transform how we do everything or why we do it.

That's why I want to teach you this tool. The world needs your creatively, your perspective, your project.

Let's do this!

Рекомендации по теме
Комментарии
Автор

Had to re-upload! Thanks for watching.

JustinMitchel
Автор

At 22:00 For those who still haven't figured out why his while loop is going into an infinite loop with 'continue' it's because he forgot to increment the value of variable 'i' before 'continue' in the else block.

Once it gets into the else block 'continue' will skip all the statements below and move to the next iteration. That is why it prints even for the first time when its on 0 but stucks on 1 because it was not incremented in the else block. Hope it clears your doubt and Justin won't mind it.

while i < x:
if i % 2 == 0:
print('even')
else:
i += 1
continue
i += 1

gambomaster
Автор

You are the first person, I tried to learn code from him, Thanks a lot

alisaeedi
Автор

I have subscribe to your channel and am on day 3 tutorial besides that am also doing python through CICSO. I joined CISCO and they recommended me to join the community on the face book so I scrolled through various Tutorials and I found your Tutorial more attractive and i want to stick to it. Great Job Keep it up!.

abdulmajidtayab
Автор

You introduced me to python a few years ago, i just want to say thank you!

Special_Sharpie
Автор

When reading lines of data from a text file, I frequently want to skip blank lines, so I would test the line for EOF in the while for a break, but I can avoid a lot of unnecessary processing by using a continue if the line read is blank. Excellent video!

argonwheatbelly
Автор

Very helpful video!

As to when to use for loops or while loops, I don't think you can say to always use for loops, because you won't always know how many times you need to iterate.

SaarKoren
Автор

Hey there man!!! THanks a lot for the videos, needed a refresher of stuff and currently doing a nice exploration with Spotify metadata. So, well appreciated.
I'd just like to give you a little feedback... Is -a bit- "odd" to read the last line at the bottom of the screen... Might be good to have the window moved a bit ;) Hope it helps.

reperio
Автор

wow, these days are starting to get challenging.

chronicrandomness
Автор

bro i cant able to understand control flow properly please make one video on it

kbggidn
Автор

Question: How do I work through Conditionals, Iterations and else with an "Integrer"?
BTW, great videos

alejandrovelazquez
Автор

Hi CodingEntrepreneurs, how do you record your creen and yourself without background I mean without the backside of you, with wich tools did you remove the backside the background ouf your person, so that only you and your screen appear ?

Krontalll
Автор

Why different brackets were used in the two examples? One had curly brackets while the other had square bracket. Can someone please explain me the difference.

selected_user = {}
V/S
abc_sq = []

smaranrai
Автор

Hi, what app did you use in creating this video? thanks

godwinfrance
Автор

Why wouldn't u use an IDE like pycharm or Visual Studio code?

jkk-gc
Автор

when i try to do the abc_sq.append(new_number) an error comes up saying 'new_number' is not defined

davidvanderweg
Автор

whats the meaning of bool sir pls reply

saidattsinh
Автор

bool(str('false').title()) doesnt work :( I think it sets it to true casue it has a value

magnuserikkeenrobot
Автор

00:16:44, When you have a long day of recording and do not have time to rewatch the entire edited video :D

nckiran
Автор

Borat would have loved the section on Booleans (NOT!)

guyincognito
join shbcf.ru