User Input and While Loops - Python Crash Course - Episode 7

  Рет қаралды 10,789

Learning Python

Learning Python

Күн бұрын

Chapter 7 of Python Crash Course. We learn how deal with user input and how to use while loops.
📚 Get the book "Python Crash Course": amzn.to/3Pmt7La
🔨 FREE Skillshare 30-day trial: skillshare.eqcm.net/5b4ddL
⏱ Timestamps
0:00 - Introduction
0:12 - User Input and While Loops
13:10 - Exercise 1
16:50 - Introducing While Loops
33:05 - Exercise 2
39:26 - Using While Loops with Lists and Dictionaries
47:56 - Exercise 3
53:58 - Summary

Пікірлер: 29
@ollygreen9965
@ollygreen9965 2 жыл бұрын
These are so helpful. I'm currently learning from this book through an online class and my professor doesn't do lectures or go over the book. Just tells us to read the chapters by ourselves. So seeing you go through the chapters is so amazing and helping me with my classes. Thank you so much!
@LearningPythonProgramming
@LearningPythonProgramming 2 жыл бұрын
Thank you! That's great to hear :)
@rishiraghuwanshi5762
@rishiraghuwanshi5762 Жыл бұрын
What if their are 2 persone with same name in ex3 last question
@user-yw9eh7qx7r
@user-yw9eh7qx7r 5 ай бұрын
It was amazing to go through. I was having a hard time with the exercises in this chapter, and in the previous one, and it was very fortunate to follow yours to see how to get it done. Thanks a lot!!
@philippeheyvaert3742
@philippeheyvaert3742 5 ай бұрын
First... nice playlist of great videos. I've been following along with the book beside me. I think you've got to use an if-elif-else cain on the exercise Multiples of Ten. First you check if the number is 0 and state it is a special number. In your version 0 returns that it is a multiple of 10 and we all know that is not True. Best from Belgium -- Philippe
@don-vr5ew
@don-vr5ew 11 ай бұрын
Incredibly underrated content I must say. Has helped me learn so much!
@LearningPythonProgramming
@LearningPythonProgramming 11 ай бұрын
Thank you
@xavimoner
@xavimoner Жыл бұрын
Thanks a lot. Your videos are very helpful. I think it is possible to use only a while. The "break" command makes bleed my eyes. It rememembers me the chaos of Basic language. prompt = input("Toppings? quit if enough") while promt != 'quit': print(f"Ok, I will add your {prompt} !") prompt = input("Would you add another one?") print('Thats all! good bye')
@pagfordcimetronelle9294
@pagfordcimetronelle9294 2 жыл бұрын
Great video as always. Thank you so much!
@LearningPythonProgramming
@LearningPythonProgramming 2 жыл бұрын
Thank you! Glad you enjoyed it!
@aleksejkostjukov4438
@aleksejkostjukov4438 11 ай бұрын
Another great video!
@GTheo.
@GTheo. 9 ай бұрын
Thank you. To save time we can use in one line the code int(input())
@LearningPythonProgramming
@LearningPythonProgramming 9 ай бұрын
Thanks. Yes, that's right
@GTheo.
@GTheo. 9 ай бұрын
@LearningPythonProgramming you are a diamond sir..thank you for your effort to teach people
@ameykulkarni1742
@ameykulkarni1742 8 ай бұрын
It was super duper amazing tutorial, loved it :)
@LearningPythonProgramming
@LearningPythonProgramming 7 ай бұрын
Thank you so much! :)
@TheAnnMain
@TheAnnMain Жыл бұрын
your video helps me so much with my homework and understanding a bit better since I am a visual learner!
@LearningPythonProgramming
@LearningPythonProgramming Жыл бұрын
Thank you. That's great to hear!
@lzak72601
@lzak72601 2 жыл бұрын
Explained very nice!
@LearningPythonProgramming
@LearningPythonProgramming 2 жыл бұрын
Thank you! Glad it was helpful :)
@mohamedlagad
@mohamedlagad Жыл бұрын
thaks for giving this valuable content
@cooleymike1
@cooleymike1 Жыл бұрын
This is awesome, thanks!
@LearningPythonProgramming
@LearningPythonProgramming Жыл бұрын
Thank you, Michael. Glad you like it!
@aljosha23
@aljosha23 Жыл бұрын
Great video as all previous. Thank you for doing this course. For me it is easier to follow video course than reading from the book. In your opinion what course is better for a complete beginner in coding "Learn Python the Hard Way" of "Python Crash Couse"?
@LearningPythonProgramming
@LearningPythonProgramming Жыл бұрын
Thank you, Aljosha! :) I would recommend "Python Crash Course" for complete beginners since the book introduces programming concepts in a better structured way imo. "Learn Python the Hard Way" is more exercise-driven / hands on - which is great, too - but I would start with Python Crash Course for learning the foundations.
@contehalimamy4872
@contehalimamy4872 Ай бұрын
I am having a problem with the terminal command in windows 11. Can anyone help me how to solve this problem?
@rishiraghuwanshi5762
@rishiraghuwanshi5762 Жыл бұрын
What if their are two person with same name in exercise 3 last question
@sujinas2434
@sujinas2434 11 ай бұрын
hey bro ..where is the crash course video for for loops?
@LearningPythonProgramming
@LearningPythonProgramming 11 ай бұрын
Hey there, we cover for loops in part 4 (when we cover lists): kzfaq.info/get/bejne/gchjrK9inpa0oYU.html
Master Functions in Python - Python Crash Course - Episode 8
1:01:31
Learning Python
Рет қаралды 12 М.
While loops in Python are easy ♾️
6:58
Bro Code
Рет қаралды 317 М.
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 33 МЛН
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 6 МЛН
#20 Python Tutorial for Beginners | While Loop in Python
12:43
Telusko
Рет қаралды 1,6 МЛН
Difference between For loops and While loops (In Python)
10:48
How to Validate User Inputs in Python | Input Validation in Python
14:14
Fabio Musanni - Programming Channel
Рет қаралды 36 М.
Nesting "If Statements" Is Bad. Do This Instead.
1:00
Flutter Mapp
Рет қаралды 3,6 МЛН
Python: While Loops (Reading User Input Indefinitely?!!)
14:40
All Python Syntax in 25 Minutes - Tutorial
24:59
Beau
Рет қаралды 27 М.
How I would learn to code (If I could start over)
9:16
Jason Goodison
Рет қаралды 4,5 МЛН