Finally somebody talks about indenting,every detail counts.Very nice tutorial with a bonus quiz at the end.
@YoTone21 Жыл бұрын
Exactly! I was struggling just now wondering what happened when my text mirrored the “correct answer” literally back spaced to indent my way vs coddys way and it worked
@azizt67732 жыл бұрын
Mosh, you are a legend im gonna enroll in your program in September this year. I'm happy that I've stumbled across you
@ziniazinia47074 жыл бұрын
U have teached a 10000000000x greater than my teacher🤣🤣🤣🤣🤣
@YTtopPAULO3 жыл бұрын
kurdy?
@anirudhkashyap108222 жыл бұрын
@@YTtopPAULO tf that mean bro ?
@YTtopPAULO2 жыл бұрын
@@anirudhkashyap10822 ?
@functionfofx2 жыл бұрын
@@anirudhkashyap10822 Fr bro💀
@bigbrain012 жыл бұрын
Herr mahn 😂
@tahaahmed6274 жыл бұрын
Amazing tutorials . . . I am learning so much about python so easily!
@asshivam81172 жыл бұрын
kzbin.info/www/bejne/sICci2efo9J_sK8 Topic : Control Flow and User Input in Python Department : CSE By Aditya(IIT DELHI) Notes available in Description Like, Share and Comment on the video Subscribe to the Ninepointers KZbin Channel
@StrigWilson3 жыл бұрын
I'm a total noob but I've always been into computers, covid put me out of a job so here I am! Thanks man i appreciate people like you helping me get certs, because school isn't an option for me financially
@Dexter21norman2 жыл бұрын
got a job yet?
@StrigWilson2 жыл бұрын
@@Dexter21norman just started a help desk position last month! Keep on the grind man
@asshivam81172 жыл бұрын
kzbin.info/www/bejne/sICci2efo9J_sK8 Topic : Control Flow and User Input in Python Department : CSE By Aditya(IIT DELHI) Notes available in Description Like, Share and Comment on the video Subscribe to the Ninepointers KZbin Channel
@wisdomdavid49232 жыл бұрын
I love you mosh! Thank you ...all the way from Nigeria
@royaebadi-gi5gt Жыл бұрын
your tutorials are comprehensive and straightforward so that beginners can grasp it easily.
@Science-Made-Easy3 жыл бұрын
Mosh has made my life easier, you are the world's no.1 programmer and you are an excellent teacher... Thank You Very Much @MoshHamedani
@asshivam81172 жыл бұрын
kzbin.info/www/bejne/sICci2efo9J_sK8 Topic : Control Flow and User Input in Python Department : CSE By Aditya(IIT DELHI) Notes available in Description Like, Share and Comment on the video Subscribe to the Ninepointers KZbin Channel
@rbgpro43 жыл бұрын
thank you so much for this you literally explained it way better than my teacher
@BahoraAvazova9 ай бұрын
thank you bro for a great tutorial lesson
@talinanderson6112 жыл бұрын
Thanks for your super informative tutorials! It really helps in my class. Mr.Hutter makes it too hard!
@Slopki162 жыл бұрын
Thank you sooooo much for this video!!!! Im making new project and i have to problems with if else and after looking 4 sec of your video i get it and fixed it.
@RFUQUA26 Жыл бұрын
I came for if statements and learned a lot more, thanks for the video.
@isabellawilliams52 Жыл бұрын
Genuinely helpful with the indenting tip.
@ChrisWales-j5u5 ай бұрын
Thank you so much for your lecture
@julbeeyaren8483 Жыл бұрын
Mosh is my favourite Tutor so far. I panic if I can't find his video on a topic I want 🤣
@isaacmatos20792 жыл бұрын
You’re great bro, greetings from Dominican Republic
@leynahoang31412 жыл бұрын
you’re helping me with my comp sci midterm 😭😭
@w84489 ай бұрын
Thank you very much, you're a wonderful teacher.
@Tanookiiii2 жыл бұрын
THANK YOU FOR HELPING MY STRUGGLE
@MuhammadAhmed-vi2xt6 жыл бұрын
Sir Mosh please make course on Django 2.1.3 because you already maked course on python now please make on django and its my humble request to you.
@habiba-cz4mc2 жыл бұрын
Your explanation is better than my TA
@sheikhmkrifat77492 жыл бұрын
I am not so good in English , in 15:38 can you tell me how "Bag"> "apple" . They both are string , and how can you define one string is greater than another one? Thank You
@wambuasammy91612 жыл бұрын
yes...let him answer this one
@howpunny35702 жыл бұрын
i think he means that because bag starts with b (second letter of the alphabet) and apple starts wtih a (first letter of the alphabet) and because b = 2nd it also equals 2, a = 1st it also equals 1, and 2 is more than 1, therefore bag is greater than apple? then since cat is greater than bag, cat = c = 3rd letter of the alphabet = 3 > bag = 2nd letter of the alphabet = 2
@sheikhmkrifat77492 жыл бұрын
@@howpunny3570 Thank you very much brother .
@YoTone21 Жыл бұрын
You are the best thank you!! I was going over if else statements using coddy tech, and they failed to explain indentation is important. Literally as soon as I indented the damn code worked smh 😂😂
@crstophermartinez86622 жыл бұрын
Thanks man for helping become a little more knowledgeable
@ManjuRawat-h5f11 ай бұрын
Thanks 👍 you are a good teacher 😊
@sibongilemalama2 жыл бұрын
It has made me to understand python very well 🥳🥳
@nobelalan27284 жыл бұрын
Thank you very much for the simple illustration
@TheMeditationHub2023 Жыл бұрын
You are the BEST!
@ketexazeez17232 жыл бұрын
Awesome 👌. You are a true educator
@adeyinkaadekanmi65862 жыл бұрын
You are a good instructor
@RealRadaiZabala11 ай бұрын
Thanks, Mosh....@Programming with Mosh
@futurism0102 жыл бұрын
No any words to express for you @MoshHamedani🤭!
@mcblackk_x50113 жыл бұрын
wow teachers on purpose dont teach this way cuz they don't care, great video!!!
@sanzay.4 жыл бұрын
15:10 what did u mean by sorting in case of bag>apple and bag>cat? Didn't understand this part!
@Ummie_k2 ай бұрын
he used the Alphabet sequence A for apple, B for bag, C for cat
@marwanmarwan58104 жыл бұрын
Sir Mosh.... you are awsome !
@moondemudimba79206 жыл бұрын
amazing tutorial
@moondemudimba79206 жыл бұрын
I know Java, C, C++ and PHP I have been coding in those languages for 4 years now.. .. I want to extend my programming skills to solving problems, that's why I chose to learn python... I have been reading about it. It's an awesome and ever growing programming language... So it's worth learning...
@GreenlackX2 жыл бұрын
Thank you so much 😊
@imanibillahismail85262 жыл бұрын
Thank you Mosh👍
@teluguhacker41602 жыл бұрын
Thank you so much sir . Please sir make video easy words in English sir
@RaynbowPandaHD3 ай бұрын
What app are you using? I downloaded python but it looks different
@MzUrKeL Жыл бұрын
This is possibly the best breakdown. I've seen so far!
@shakeel0atmeal2732 жыл бұрын
Thank you my friend 🙏🙏🙏
@emeldaoluoch85822 жыл бұрын
Some clarification Set high income to false Good credit to true And student false Then here is the code: If (high income and good credit) or not student: Print("eligible") Else: Print("not eligible") Am getting eligible I don't understand
@sanketkoirala2 жыл бұрын
Because you’ve set student as false. Which means the person is not a student So they’re eligible.
@yiltushable2 жыл бұрын
its because ha has a mistake in the video
@alfredo63074 жыл бұрын
Some practice code I wrote. I think it works. response = input("Can you speak English? ") if response != "no": can_speak_english = True else: can_speak_english = False response2 = input("Can you speak Spanish? ") if response2 != "no": can_speak_spanish = True else: can_speak_spanish = False if can_speak_spanish and can_speak_english: print("You are eligible for a larger loan") else: print("You are eligible for a smaller loan")
@alfredo63074 жыл бұрын
Update. It doesn't work 100% of the time properly
@sssapss3 жыл бұрын
it's wrong code
@asshivam81172 жыл бұрын
kzbin.info/www/bejne/sICci2efo9J_sK8 Topic : Control Flow and User Input in Python Department : CSE By Aditya(IIT DELHI) Notes available in Description Like, Share and Comment on the video Subscribe to the Ninepointers KZbin Channel
@TaylorGang442 жыл бұрын
i'm pretty sure your code is wrong sir, lol you're giving the same response to both option
@thelmaajomiwe1059 Жыл бұрын
If can only come ones while elif comes as many as u want then close with else
@killablaze11523 жыл бұрын
Sir good day, My name is Jason and I need your help. I'm a beginner in python doing if, else statements now. Please tell me how can I get in contact with you directly.
@DeepikaSUBERI9 ай бұрын
It works good in Mac too right?
@milankbudha4 жыл бұрын
in this video,which python IDE you had used?plzz tell me
@tickogrey58464 жыл бұрын
Ikr
@lasc19914 жыл бұрын
Hey Mosh, you are a good teacher !! Explain very well .
@HusamEmran Жыл бұрын
the last part of bag and apple i did not get it ? the rest was well explained thank you
@todormetzov1235 Жыл бұрын
thank you 🎉 ❤
@hazemalawawdeh93184 жыл бұрын
You are a smart person boi
@Satyajit58584 жыл бұрын
Nice explaination sir
@rajabhishek29366 жыл бұрын
Love it.....
@rajabhishek29366 жыл бұрын
@@programmingwithmosh I complete core python sir.
@YouGotOptions2 Жыл бұрын
So is it safe to say that when thinking of the operators to think of them as logic gates?
@nobelalan27284 жыл бұрын
but I have question about the age. I think it should be >=18 and not
@newshapeymani91193 жыл бұрын
its because when you try to write it in the shorter version it reads like this 18
@stephendgj Жыл бұрын
did you make a mistake at 13.48 it should be > instead of
@ItzTyrax2 жыл бұрын
is there a way to apply this to labels? Say I have a label with the variable name LED so LED = Label(0,200,200) then maybe check the VALUE like LED.value is above say 25 It changes the position?
@PKOVBPK10 ай бұрын
Hi Mosh I have one question and I can´t find answer. I read temperature which is float number. I have some zone from -10 to 10. And when I break this zone from outside I want to make action. if temperature > -10: do someting. elif temperature < 10: Do someting. But what is my problem? When I run microcontroler and actual temperature is -5.5. So I need to know how to specify the barier that when I´m already inside zone from -10 to 10 to do nothing. And when I break zone from outside to iside do what I want. I hope it´s clear. Can you help me how to solve it? Thank you so much :)
@osho28103 жыл бұрын
Great Sir
@alexanderhanks90512 жыл бұрын
Thanks
@ssegiriinyapaul816 Жыл бұрын
>>> temperature = 11 ... if temperature > 11: ... print("Hot") ... print("drink water") >>> print("Done") SyntaxError: multiple statements found while compiling a single statement am using python 3.11.5, why do i get such a result?
@ucancallmeultra.38642 жыл бұрын
I didnt quite understand how he said bag is greater than apple did he meant what words comes before in the dictionnary?
@SeifCookz2 жыл бұрын
whats the app you used for this tutorial?
@lilskely62783 жыл бұрын
wait so in 15:20 because b comes after a it will turn true and c comes after b so bag will become false in conclusion this will not be grater than cat, srls i never knew that this could happen in python!
@someXone3 жыл бұрын
Exactly me too. This is my first time learing python and my mind is blowing up rn
@BobWila Жыл бұрын
Hi Mosh, so say I got this condition where if he opts to select yes to retake the question, how can I rerun that specific variable/question?
@sammygang3181 Жыл бұрын
Not sure but I think it's goto
@greenishengland4 жыл бұрын
Can we use If conditional statement without using else statement and print the else statement?
@MparRS2 жыл бұрын
no
@dailysiva25824 жыл бұрын
*Really awesome*
@yuvrajwankhede8083 Жыл бұрын
I did not understand when he said "bag" is greater than "apple" because when we sort it comes before. can someone explain?
@jamaal12825 ай бұрын
6 MONTHS LATE.... but Basically the alphabet. For example, b comes after A so therefore in programming B is greater than A and B does come before C therefore B is not greater than C.
@someXone3 жыл бұрын
That elif is mistaken of else. Or It is actually elif. Someone please response. That 15:32 part is too confusing for me 😭
@David917773 жыл бұрын
No, from what I understand, it is meant to be elif. You use elif as a substitute condition in case the “if” statement doesn’t work. But if both the “if” and “elif” statements are not true, then it will print the “else” condition. I hope you understand this, but I’m a new programmer who only started this week, so don’t rely on my explanation as I could be wrong. 🙏🏾
@someXone3 жыл бұрын
@@David91777 Thanks mate for response Yhh, i asked one of my friends in this elif confusion and he told about the use of elif as it is used as substitute and i understand how it works in python And i’m also newbie to this. I hope you also doing good. #Happylearning
@David917773 жыл бұрын
@@someXone Thanks very much man… Good luck and stay blessed. 🙏🏾
@hazemalawawdeh93184 жыл бұрын
Can you make a math QUIZ in python ?
@वेदGAMING-s8x5 жыл бұрын
Best explanation 👍 sir
@mattnowak2987 Жыл бұрын
Quick question dumb question how is bag greater than apple?
@jamaal12825 ай бұрын
Basically the alphabet. For example, b comes after A so therefore in programming B is greater than A and B does come before C therefore B is not greater than C.
@ramlaaal3 жыл бұрын
sir what theme do you use in vs code
@raka86723 жыл бұрын
Can u help me pls when im using if statement then use print and i say something in print() its not pop up in output
@tankionlinegamer1262 жыл бұрын
Sir, do you have any Ebook for complete beginners, if you know best e book pls share
@prosatisfyingdominoes1537 Жыл бұрын
what app do you use for python
@biggiecheese8785 Жыл бұрын
replit
@himanshuthakur4761 Жыл бұрын
How is bag greater than apple(in what context)?
@mohammadanarul6245 жыл бұрын
thank you so much sir...
@roselynearroyocastillo84024 жыл бұрын
im sorry that idk this but what is this used for?
@roqiyajaved657011 ай бұрын
How do you save to go to the next lin
@al-harithodeh9121 Жыл бұрын
4:02 and 5:58 and 15:09
@kripasaxena4574 жыл бұрын
In last program ..I tried it but it gave me error as 'c' is not defined...reply soon
@prashh472 жыл бұрын
Nice
@chungku74749 ай бұрын
What is it with bag, apple and cat, please help
@jamaal12825 ай бұрын
Basically the alphabet. For example, b comes after A so therefore in programming B is greater than A and B does come before C therefore B is not greater than C.
@SureshKumar-gm9cz6 жыл бұрын
Pls add more videos
@sheikhrashid30553 жыл бұрын
How bag is greater than apple?
@AlexA-cj5my5 жыл бұрын
It writes for me “TypeError: ‘
@cricksterg23244 жыл бұрын
Same
@ziniazinia47074 жыл бұрын
Lol
@sssapss3 жыл бұрын
How bag is smaller than cat?
@rahmaelsayed23685 ай бұрын
I have a big broblem in nasted if statment
@devdwr92086 жыл бұрын
This is how works AI xD
@r0d1tub2 Жыл бұрын
why is bag not greater than cat. That I did not understand
@kirans9364 жыл бұрын
Can I know the name of software used here plz 🙏
@sanjaysawant19754 жыл бұрын
hey friend you asked the name of software the name is "Visual studio code" if you want to know the theme name it is "Horizon italic"
@navrozsalim6944 Жыл бұрын
legend
@Vahe_1112 жыл бұрын
what is this text editor's name?
@georgekomeh6 ай бұрын
Vs code
@samabdollahian98415 жыл бұрын
The quiz for how b if false dosen't make sense
@DavidWTube4 жыл бұрын
I almost thumbs downed this, because you don't have any haters, and I want you to make it!
@lewisqiu5960 Жыл бұрын
Sorry i didn’t get it why bag great than apple And bag not great than cat. How can i tell
@yiltushable2 жыл бұрын
Hey, You have a mistake in the video.... the student ect. the code doesnt match your condition