Python Tutorials for Beginners – Learn Python Online

///Python Tutorials for Beginners – Learn Python Online

Python Tutorials for Beginners – Learn Python Online

FavoriteLoadingAdd to favorites

Watch my BRAND NEW Python tutorial with projects:

Looking for Python tutorials for beginners? Watch this video to learn Python online.
🔥Subscribe for more Python tutorials for beginners:
🔥Get my COMPLETE Python course with a BIG discount:

– Python Exercises for Beginners:

– Python 3 Cheat Sheet:

Want to learn more from me? Check out my blog and courses:

These days everybody is learning Python 3 because it’s the most popular programming language. If you’re looking for a Python course that teaches you the fundamentals of Python, you’ve come to the right place.

This video shows you Python applications as well as python salaries. If you’re looking for a programming job to make more money, Python is the best programming language to learn first.

TABLE OF CONTENT

00:00:00 What is Python?
00:03:22 Installing Python
00:05:15 Python Interpreter
00:07:12 Code Editors
00:08:32 Your First Python Program
00:12:11 Python Extensions
00:15:04 Linting Python Code
00:19:20 Formatting Python Code
00:23:16 Running Python Code
00:26:17 Quiz
00:28:41 Variables
00:31:48 Variable Names
00:34:52 Strings
00:40:24 Escape Sequences
00:43:06 Formatted Strings
00:45:16 String Methods
00:51:13 Numbers
00:54:01 Working with Numbers
00:56:12 Type Conversion
01:01:18 Quiz
01:04:03 Comparison Operators
01:06:09 Conditional Statements
01:10:20 Ternary Operator
01:12:31 Logical Operators
01:16:35 Short-circuit Evaluation
01:18:44 Chaining Comparison Operators
01:20:08 Quiz
01:21:53 For Loops
01:25:32 For..Else
01:28:21 Nested Loops
01:31:07 Iterables
01:34:17 While Loops
01:39:18 Infinite Loops
01:40:57 Exercise
01:43:04 Defining Functions
01:45:30 Arguments
01:47:53 Types of Functions
01:51:57 Keyword Arguments
01:53:59 Default Arguments
01:55:36 *args
01:59:53 **args
02:02:15 Scope
02:07:26 Debugging
02:14:18 VSCode Coding Tricks (Windows)
02:16:41 VSCode Coding Tricks (Mac)
02:18:32 Exercise
02:20:03 Solution

source

By |2019-04-13T16:51:45+00:00April 13th, 2019|Python Video Tutorials|33 Comments

33 Comments

  1. Programming with Mosh April 13, 2019 at 4:51 pm - Reply

    Guys, watch my BRAND NEW Python tutorial here: https://youtu.be/_uQrJ0TkZlc

  2. Steve Tait April 13, 2019 at 4:51 pm - Reply

    I do not see the 3 dots to change Json.Settings 🙁 Can't change the Python for the console

  3. Scottie April 13, 2019 at 4:51 pm - Reply

    the linter instill didnt pop up for windows and i searched for it with no luck. how do i find it please?

  4. Mr. Ali April 13, 2019 at 4:51 pm - Reply

    I don't know why I watch all ads on your videos completely and also click them. Maybe I want to give you some profit and it is the only way I have.?!

  5. Mr. Ali April 13, 2019 at 4:51 pm - Reply

    Mosh you are actually the God Gifted person. Best Programming teacher I have ever met. Just wanna know will there be a C++ course either on youtube or at programmingwithmosh.com? If yes I beg you to reply I am dying to learn C++ from you. Hop you will reply.

  6. Chris Eaton April 13, 2019 at 4:51 pm - Reply

    Hi. Is there another variant of this tutorial on a Windows Computer? You are clearly using a Mac and there seem to be LOADS of variations between using a Mac and using a PC.
    These little differences make your tutorial very distracting because i spend so much time stopping and starting the video trying to work out why MY screen isn't working.
    Sometimes it is little things like.. after Hello World you instantly plonked a cat emoji, but that facility is not available on my PC. It didn't add anything to the tutorial and wasted 10 minutes of my time trying to find it. The CTRL + ' on a UK keyboard is in a different place. The ' symbol is to the left of the Enter key above the #. Again, more wasted time.
    So, is there a PC version?

  7. Good man April 13, 2019 at 4:51 pm - Reply

    Please add some more, working through these exercises and loving it!

  8. Edwin Dsouza April 13, 2019 at 4:51 pm - Reply

    Your explanation power is superb.. I wll see it again Nxt time due to time constraints

  9. Maestro April 13, 2019 at 4:51 pm - Reply

    Need help, whenever I try to install the linter pylint i get this message on the terminal: Could not find a version that satisfies the requirement pylint (from versions: )

    No matching distribution found for pylint.

    I got the latest version of phyton 3 64 bits.

  10. Riazul Mriddu April 13, 2019 at 4:51 pm - Reply

    what id f ?

  11. Jettah April 13, 2019 at 4:51 pm - Reply

    Why does my output look like this in the terminal after I hit run??

    [Running] python -u "c:Userswrigh_000OneDriveDocumentsWhatsUpWorldapp.py"

    4

    [Done] exited with code=0 in 0.09 seconds

    I would rather it look clean and concise like how he has his in the video. Can anyone help?

  12. don don April 13, 2019 at 4:51 pm - Reply

    please make a video on basic structure of python and commands and statement

  13. Augusto Enriquez April 13, 2019 at 4:51 pm - Reply

    Hi, when i am trying do the exercise on the minute 45:00 and it show this message, could you help me ?

    File "/Users/augustoenriquez/Desktop/prueba1/app.py", line 8
    full_name = f'{first} {last}'
    ^
    SyntaxError: invalid syntax

  14. dendens kingdom April 13, 2019 at 4:51 pm - Reply

    Im torn between computer science and computer engineering. Can anybody suggest what's practically better? Or which of them is the most hired? Please I badly need help. 🙁

  15. fitness shark April 13, 2019 at 4:51 pm - Reply

    11:02 nothing happens when i press control and backtik

  16. BySilver April 13, 2019 at 4:51 pm - Reply

    This is my code for 1:41:20 xD

    a = 2

    b = 4

    c = 6

    d = 8

    for num in range(1):

    num = a

    print(a)

    if num == a:

    num = b

    print(num)

    if num == b:

    num = c

    print(num)

    if num == c:

    num = d

    print(num)

    print("We have 4 even numbers")

  17. Harsh raaz April 13, 2019 at 4:51 pm - Reply

    You are great Mosh Sir.. Your videos help me a lot.
    Thank u so much.👌🏻

  18. Merik Ostensen April 13, 2019 at 4:51 pm - Reply

    What is that button three left from the right corner that looks like an american flag with an x in it

  19. MikeOnTheBox April 13, 2019 at 4:51 pm - Reply

    At the start of the course once you installed Code runner we can see that each time you run code it also shows "[Done] exited with code=0….." but later on that doesn't show anymore. How to get rid of it?

  20. MikeOnTheBox April 13, 2019 at 4:51 pm - Reply

    def fizz_buzz(input):

    return "FizzBuzz" if input % 15 == 0 else "Buzz" if input % 5 == 0 else "Fizz" if input % 3 == 0 else input

  21. Zein El Mokhtar April 13, 2019 at 4:51 pm - Reply

    Thank you Mosh.

  22. MikeOnTheBox April 13, 2019 at 4:51 pm - Reply

    No surprise you see as errors in beginners code the indentation been messed up 😛
    Interesting how the by=1 inside that arguments for a function is not considered dirty code and it's not spaced.

  23. wesley tejeda April 13, 2019 at 4:51 pm - Reply

    Hello ,Im on a Mac I dont have the 3 dots to open those settings at 25.00
    What do I do?
    Thanks!

  24. Aarthi M April 13, 2019 at 4:51 pm - Reply

    Hey Mosh and All,

    I just started watching the video today and trying to get output for a simple app.py program, but there is sometimes wrong all time. I am using Windows

    PS C:UsersrajaiOneDriveDesktopPython> python3 app.py

    python3 : The term 'python3' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,

    verify that the path is correct and try again.

    At line:1 char:1

    + python3 app.py

    + ~~~~~~~

    + CategoryInfo : ObjectNotFound: (python3:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

    Could you please help me in providing the feedback on this issue?

  25. Gustavs Strazdins Tutorials April 13, 2019 at 4:51 pm - Reply

    Good info! 🔥

  26. Robert Young April 13, 2019 at 4:51 pm - Reply

    is there exor in python? this in electronics is a logic gate which only lets 1 true state and one false state through to give a true output?

  27. Merik Ostensen April 13, 2019 at 4:51 pm - Reply

    I'm not getting any reload button

  28. Prism Estate April 13, 2019 at 4:51 pm - Reply

    i am unable to get the print in the windows

    Terminal:

    PS E:PYTHONHELLO WORLD> #python3 app.py

    At line:1 char:8

    + $print python3

    + ~~~~~~~

    Unexpected token 'python3' in expression or statement.

    + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException

    + FullyQualifiedErrorId : UnexpectedToken

  29. Merik Ostensen April 13, 2019 at 4:51 pm - Reply

    You know this is So much EASIER THAN C#!!!!!!!!!!!!!!

  30. SPACEUPHORIA April 13, 2019 at 4:51 pm - Reply

    Hello. I've learned a lot from watching your videos. Now, I have a problem. Can you tell me how to solve the rest of the choice, I made. I made your guessing game, but how do I make the choice of Yes and No, as does the user want to play again? Can you tell me what to do with this program? I'm so used to actual go to and jump to subroutine. I don't quite understand how to make the user make the choice to play again, then the game starts over, and how to make the user quit the game if he wants. I'm not sure of how to make the whole loop work from the while part of the loop. Look near the bottom of my last commands, can you tell me how to loop back up to the while command. I'm sort of old fashioned on early day programming from a Commodore 128 computer from far back in the 80's, when I was in my twenties actually. lol Thank you, I sure could use your help. I'm not sure what to do with creating the loop to repeat itself if the user wants to keep on playing guess the number. The programming in my day was mostly numbers, with GoTo and IF, Then commands. I'm stuck lol

    import os,math,time;import random;from math import *

    secret_number=random.randint(1,10)

    guess=secret_number==random.randint(1,10)

    guess_count1=1;guess_count2=5;guess_limit=6

    while guess_count1<guess_limit:

    os.system('cls')

    print('GUESS THE LUCKY NUMBER BETWEEN 1 AND 10nYou have up to 5 chances to win. "Good Luck!"')

    try:

    guess=int(input(f'nGuess Number {guess_count1}:nYou have ({guess_count2}) guesses left! '))

    guess_count1+=1;guess_count2-= 1

    except ValueError:

    print('nError! text numbers only: ')

    if guess is secret_number:

    print(f'nCongratulations. You Won!nYour lucky number is: "{secret_number}"nnPlay again? (Y):(N) ')

    break

    else:

    print(f'nSorry. You lose!nYour lucky number was: "{secret_number}"nnPlease try again! (Y):(N): ')

  31. A A April 13, 2019 at 4:51 pm - Reply

    Hello Mosh , in the 24:56 time of the video . The step i don't have that dots …. in the right side. to be python3 . i am using mac too . so how to fix it please

  32. Wandera P. Steven April 13, 2019 at 4:51 pm - Reply

    Mosh, you make coding so easy. I have been so interested, like I wake up and think coding, sleep thinking coding. I started looking for a good course because I wanted to have a supplementary when I learn pen testing. Thank you so much for these courses

  33. Ali Omar April 13, 2019 at 4:51 pm - Reply

    Hi mr.Mosh Thank you for amazing course.
    May I ask what the name of themes do you use and color of fonts ???

Leave A Comment

*