Afternerd
Afternerd
  • Видео 20
  • Просмотров 1 226 314
Difference between For loops and While loops (In Python)
In this video in the Python tutorial for beginners, I am going to teach you the difference between For loops and While loops. As well as when it is appropriate to use which type of loops.
⏰ Timestamps:
00:00 | Introduction
00:39 | Loop variable initialization
05:11 | Loop variable update
06:54 | When to use which type of loop
09:52 | Summary
Resources:
📝 Python Cheatsheet: www.afternerd.com/blog/get-python-cheatsheet/
🖥️ Computer Science guide: www.afternerd.com/blog/learn-computer-science/
🐍 Python roadmap guide: www.afternerd.com/blog/learn-python/
Courses:
📚 Python OOP: www.afternerd.com/udemy/python-oop-course
Where you can find me:
ℹ️ Website: www.afternerd.com/​
📸 Instagram: the_krea...
Просмотров: 8 237

Видео

Python: While Loops (Reading User Input Indefinitely?!!)
Просмотров 13 тыс.2 года назад
In this video in the Python tutorial for beginners, I am going to teach you all you need to know about While Loops in Python by going through an example where a user has to interactively enter multiple numbers indefinitely, and we only stop when the input is a negative number. I will discuss why we need while loops in programming, and the difference between For loops and While loops. ⏰ Timestam...
Python: Why Do We Need Loops? (For Loops Explained)
Просмотров 3,7 тыс.2 года назад
In this video in the Python tutorial for beginners, I am going to teach you all you need to know about Loops in Python, specifically For loops. I will discuss why we need loops in programming, and in what circumstances we should use them. I will also cover the syntax of for loops, as well as fundamental concepts like the loop counter, the loop body, the loop iteration, and the range function. ⏰...
Python If Statements Explained (In Great Detail)
Просмотров 3,5 тыс.3 года назад
In this video in the Python tutorial for beginners, I am going to teach you all you need to know about if statements in Python, as well as if-else and if-elif-else statements. If, or conditional, statements is a fundamental concept in programming languages and it is crucial that you understand this concept well in order to be a good programmer. ⏰ Timestamps: 00:00 | Introduction 00:13 | What pr...
8 Tips to SKYROCKET your Python Productivity on VS Code (Visual Studio Code)
Просмотров 4 тыс.3 года назад
In this video, I will teach you 8 tips that will help you skyrocket your Python productivity on VS Code (Visual Studio Code). ⏰ Timestamps: 00:00 | Introduction 00:25 | Tip 1: Fast Commenting 01:22 | Tip 2: Cutting the Whole Line 02:11 | Tip 3: Multiple Cursors 03:24 | Tip 4: Multiline indentation 04:09 | Tip 5: Moving a Line Up or Down 04:52 | Tip 6: Peeking a Symbol's Definition 05:55 | Tip 7...
Python Boolean Data Types, Comparison Operations, and Logical Operations
Просмотров 4,1 тыс.3 года назад
In this video in the Python tutorial for beginners, I discuss boolean data types, along with operations that work on boolean data. Specifically comparison operations and logical operations. ⏰ Timestamps: 00:00 | Introduction 00:15 | What are boolean data types? 02:27 | What does boolean mean? 04:07 | Writing code using boolean data types 06:35 | Comparison operations 09:21 | Difference between ...
How to Be an INSANELY Successful Programmer?
Просмотров 1,8 тыс.3 года назад
In this video, I discuss how to become a successful programmer and have a prosperous programming career. Books mentioned in the video: 📚 Clean Code: amzn.to/3f6PZPL 📚 The Manager's Path: amzn.to/2NI0BJw ⏰ Timestamps: 00:00 | Introduction 00:17 | The three components to a successful programming career 00:31 | The technical component 01:36 | Craftsmanship 02:15 | The difference between the techni...
Automate Asking about the Weather with Python [Python Automation Projects]
Просмотров 2,3 тыс.3 года назад
In this video, I will teach you how to automate asking about the weather with Python. Google "afternerd learn Python" to check my massive guide for learning Python. Resources: 📝 Python Cheatsheet: www.afternerd.com/blog/get-python-cheatsheet/ 🖥️ Computer Science guide: www.afternerd.com/blog/learn-computer-science/ 🐍 Python roadmap guide: www.afternerd.com/blog/learn-python/ Courses: 📚 Python O...
Python Numbers: Integers, Floats, and Arithmetic Operations [Python Tutorial for Beginners]
Просмотров 2,7 тыс.3 года назад
In this video, I am going to continue talking about data types. Specifically, I cover Python numbers (integers and floats), as well as the arithmetic operations you can perform on these data types in Python 3. So what will you learn in this video? First, you will learn about integers (int) and floating-point numbers (float), and why we have various numerical data types to start with. Second, yo...
What Programming Language Should I Learn First? (Let's Settle This!)
Просмотров 3,8 тыс.3 года назад
What programming language should you learn first? Python, Javascript, C , C#, Go, Rust, Ruby, Scheme, Haskell? This question is one of the most frequent questions that I get asked so let's answer this once and for all! Quite frankly, it doesn't matter what your first programming language is. What matters is that you need to start somewhere. In this video, I explain why that is, and I also give ...
Python Strings Concatenation (With Exercises) [Python Tutorial for Beginners]
Просмотров 3 тыс.3 года назад
In this video, I am going to be teaching you about Python string concatenation. Python string concatenation is the operation of joining two or more strings together. In order to join two or more strings together, we use the plus ( ) operator to join string variables and/or string literals. Where else you can find me: WEBSITE: www.afternerd.com/ INSTAGRAM: the_kreamix TWITTER: twit...
Python Strings Explained - Part 1 (Indexing and Slicing) [Python Tutorial for Beginners]
Просмотров 3,2 тыс.3 года назад
This is the first video in a series of videos where I will talk about Python Strings. Specifically, I will talk about what strings are, how they are represented, and how you can apply indexing and slicing on strings. A string in Python is a data type that represents textual data. They are essentially a sequence of characters. In Python, strings can be represented by enclosing some text with eit...
What do Software Engineers do? (And How to Grow your Career)
Просмотров 1,8 тыс.3 года назад
What do Software Engineers do at work? In college, you learn about programming, operating systems, networking, etc.. but have you ever wondered what do software engineers do once they land their first job? To understand the responsibilities of the software engineer, you need to understand the responsibilities of the people you will be working closely with: Engineering Managers and Product Manag...
Python Variables (Python Tutorial for Beginners)
Просмотров 3,2 тыс.3 года назад
Python Tutorial for Beginners: Python variables In this video, I explain what Python variables are. A variable is a fundamental programming concept that you need to understand whether you are learning Python or any other programming language. Where else you can find me: WEBSITE: www.afternerd.com/ INSTAGRAM: the_kreamix TWITTER: AfternerdTweets
What is the Python Interpreter? (How does Python Work?)
Просмотров 81 тыс.4 года назад
What is the Python interpreter and how does Python work internally? In this video, I talk about how the Python interpreter works and how it runs your Python source code. Essentially, the Python interpreter is comprised of two subsystems: 1- A compiler: this compiles your source code into an intermediate code called the 'byte code' 2- A Python virtual machine (PVM): this interprets and executes ...
How Long Does It Take to Learn Python? (And Get a Job)
Просмотров 916 тыс.4 года назад
How Long Does It Take to Learn Python? (And Get a Job)
How to Learn Python? (From Zero to Hero)
Просмотров 137 тыс.4 года назад
How to Learn Python? (From Zero to Hero)
Your First Python Program (Hello World!)
Просмотров 18 тыс.4 года назад
Your First Python Program (Hello World!)
How to Setup Python 3 on Windows? (Step-by-Step)
Просмотров 6 тыс.4 года назад
How to Setup Python 3 on Windows? (Step-by-Step)
What is Object-Oriented Programming? (The basic concepts)
Просмотров 12 тыс.4 года назад
What is Object-Oriented Programming? (The basic concepts)

Комментарии

  • @Dannie.O
    @Dannie.O 5 дней назад

    Thank you so much!

  • @stephystuff2955
    @stephystuff2955 13 дней назад

    WHY is there a 2 & 3????😫😫😫

  • @ahmedibrahim4059
    @ahmedibrahim4059 15 дней назад

    Thank you❤

  • @bechieorfrecio2222
    @bechieorfrecio2222 Месяц назад

    Hi sir I'm new follower

  • @dukemakaveli
    @dukemakaveli Месяц назад

    Hi, Iam a none IT-based and i have zero background about IT fields, I saw a course in Udemy that gives the opportunity to learn Paython in 100 days, offering 60 hours, is it ok for me as a completely beginner to enroll in this course? Kindly advise and thanks in advance.

  • @Dono0o
    @Dono0o Месяц назад

    Everyone takes different amount of time learning things and if your younger it will probably take longer

  • @roshnimandarapu5097
    @roshnimandarapu5097 Месяц назад

    WOWWWW!

  • @user-ty2gg8vv6m
    @user-ty2gg8vv6m 2 месяца назад

    11:48 SO THATS __PYCACHE__ IS FOR

  • @soumiksen571
    @soumiksen571 2 месяца назад

    You talk too much instead of coming to the point

  • @jetbob309
    @jetbob309 2 месяца назад

    I like your style of delivery! Id definitely buy a course from you! Thanks for the video

  • @web-unlocked
    @web-unlocked 2 месяца назад

    This is the best python mechanism of action explanation I've seen on the internet

  • @lowbudgetsonic5056
    @lowbudgetsonic5056 3 месяца назад

    My kid died because I did not find this sooner

  • @gd2860
    @gd2860 3 месяца назад

    Im the type of person who has to learn it from a very high level first then, the rest should fall into place. This fills a lot of gaps that ive had in getting started with python. Im new to this but again, I need to see the big picture first. Im an old network guy who mastered networking years ago. Been shying away from network automation but its what's here now and literally in my face at the workplace. Excellent explanation. Well done!

  • @linguaphile24
    @linguaphile24 3 месяца назад

    This is so clear and informative i like to know whats going on to understand later how things work even if i wont go deep to these codes. Thank you for this

  • @mo7sin711
    @mo7sin711 4 месяца назад

    I need help I'm studying the freecodecamp course, and when i type the following code for the conditional exercise x = 0 y = 10 if 0 == x: if y == 10: print('YES') the output in the VS code terminal is Syntax Error however when I run it in python itself or an online compiler, it runs successfully and prints YES I need help :(

  • @nothingmuch44
    @nothingmuch44 4 месяца назад

    pls could you tag the links to the for loop videos you said we should go watch first.

  • @WaldoTheWombat
    @WaldoTheWombat 4 месяца назад

    Thank you Karim, excellent video! Why do interpreters convert source code to machine code one row at a time unlike compliers that convert the entire file all at once and what is the consequence of this difference?

  • @mhr4291
    @mhr4291 4 месяца назад

    well explained. thank you

  • @harshmittal63
    @harshmittal63 4 месяца назад

  • @byroniniesta5370
    @byroniniesta5370 4 месяца назад

    Thank you sir.👍

  • @lucascerveracom
    @lucascerveracom 4 месяца назад

    Great explanation! Thanks for sharing your knowledge in such an easy to understand way

  • @user-hj3dx2fm6q
    @user-hj3dx2fm6q 4 месяца назад

    RADHE RADHE JAI SHREE RAM HAR HAR MAHADEV RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA RADHA

  • @dani-os2sx
    @dani-os2sx 5 месяцев назад

    Now I know everything 😊

  • @TheApeWonder
    @TheApeWonder 5 месяцев назад

    Thanks for this and thanks for all comments! So starting out as a front end developer going into UX, I’m now (sort of) tired of that and web. The market is bloated with those kinds of skills and building apps has slowed down. So I stand between sharpening my React skills or simply ditch that and jump into Python. Taking a Udemy course now which is great so far. I also think JS and Python are good to know in tandem. But here’s the crux so to speak. I’m not a genius at math but I like programming and have done so in JavaScript a fair bit. I like Python for its diversity but then again each tool for the right job, can’t use it for everything effectively I’ve been told. So if I don’t get into ML or data science, if math is crucial there or companies require BsC in those - can Python work for cybersecurity, embedded systems, web, etc? I believe it can but is it valid to master Python, thinking long term and being relevant for hiring while looking at the market? Web today is all HTML, CSS and JS which I’ve done quite a bit. It’s tiresome with JS and their libraries. It never ends. (I’ve been thinking of doing cybersecurity as a career change or IoT) Ps. I’m now 46 so I want to make a “smart switch” for the rest of my career. 😅

  • @mannp31
    @mannp31 5 месяцев назад

    Thanks bro

  • @sowmyaganiga4155
    @sowmyaganiga4155 5 месяцев назад

    Thanks for the information this is what needed to start with anything in IT , Please make more and more videos on basics

  • @NakojaTimoryiKofi-zz8zf
    @NakojaTimoryiKofi-zz8zf 5 месяцев назад

    Please is there any website I can be getting codes to be practicing on?

  • @monochromenight8943
    @monochromenight8943 5 месяцев назад

    I wonder whatever happened to him. I was eagerly awaiting the Python Socket course.

  • @TheUssmkl
    @TheUssmkl 6 месяцев назад

    Definitely one of the best teachers on here. Way better than the way the Google course explains it.

  • @TheUssmkl
    @TheUssmkl 6 месяцев назад

    This guy is a great teacher! I'm taking Programming Logic through college and it is confusing. After watching this Afternerd I get it!

  • @mayeganfriends6678
    @mayeganfriends6678 6 месяцев назад

    I'm subscribing.....Gold information here

  • @cutecute6471
    @cutecute6471 6 месяцев назад

    What are the best channels to learn Python?

  • @user-sl2ti8yg5m
    @user-sl2ti8yg5m 6 месяцев назад

    Your way of explaining things is really clear and easy to understand! Thank you so much

  • @JaceFreeman3
    @JaceFreeman3 6 месяцев назад

    Thank YOU

  • @quitchiboo
    @quitchiboo 6 месяцев назад

    Late to the party, but pretty much instantly subscribed. Clear, to the point, minimalist yet highly effective visual aids.

  • @scaledeals-io
    @scaledeals-io 6 месяцев назад

    This was awesome! Thank you!

  • @navnitkumar138
    @navnitkumar138 6 месяцев назад

    Nice Explanation. Very impressive tutorial for me. Now I learnt How Interpreter works. Thanks a lot..!

  • @bassamtarabay9723
    @bassamtarabay9723 6 месяцев назад

    Thank you. Great vid.

  • @herohoang4717
    @herohoang4717 7 месяцев назад

    Amazing 🎉🎉🎉

  • @merrymouse2008
    @merrymouse2008 7 месяцев назад

    Wonderful video! You explain it so nicely and it is easy and interesting to follow. thank you so much for making it!

  • @user-bg3tq7fi3l
    @user-bg3tq7fi3l 7 месяцев назад

    you are the best!!!!!! I wish my prof was like that..

  • @sondisamvemnyama3476
    @sondisamvemnyama3476 7 месяцев назад

    Answer @5:30

  • @louis20122
    @louis20122 7 месяцев назад

    What book or where do i learn as an accountant and not into programming?

  • @elijahelicom
    @elijahelicom 8 месяцев назад

    Look for is a complete course of python bro

  • @estebangomez1823
    @estebangomez1823 8 месяцев назад

    This nailed it!!! Happy to found this channel!

  • @bryce3851
    @bryce3851 8 месяцев назад

    I'm going for data analysis for job wise I started learning from w3 schools and RUclips still have long ways to go !

  • @zuzanwin6614
    @zuzanwin6614 9 месяцев назад

    Thank you so much

  • @Wladyslaw1440
    @Wladyslaw1440 9 месяцев назад

    Been learning python for 5 or more months but I just can’t do it. I keep trying and I will keep doing it but I just can’t get passed the basics. In code wars in alright on 8KYU, but when I get to 7KYU it’s a new world, I see double modulus, millions of brackets, Jesus Christ. I need help.

  • @createwithliberty
    @createwithliberty 9 месяцев назад

    L