Python 3 Programming Tutorial – Getting user input

In this video, we cover how to get user input. For a simple text-based GUI (graphical user interface), it can sometimes be useful to allow for a user to enter some input into the program while it runs. Using Python 3’s “input” function, we can do that.

Sample code for this basics series:

Python 3 Programming tutorial Playlist:…


  1. I wonder why you don't need quotes when you type your name but I do? I really wish Python would stop changing every 5 minutes. I spent an hour trying to figure that out until I read one of these posts that told me to use quotes thanks Mnkn Ricky

  2. texts=input("Input the text")
    This command shoots up the error given below (in Python 3.6)
    TypeError: 'NoneType' object is not callable
    Any idea why is this happening? Am I missing importing any module?
    Solving this'd be of great help as my entire program gets stuck here because of this trivial error.

  3. hoursworked = int(input("Enter hours worked: "))

    rate = 25.00
    if hoursworked > 40:
    grosspay = ( 40 * rate) + ((hoursworked – 40) * (rate * 1.5))
    if hoursworksed <= 40:
    grosspay = hoursworked * rate
    print = ("gtoss pay: " + str( grosspay))


Leave a Reply

Your email address will not be published.