Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Medic873 Python Tutorial 2 Input Statement

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,567
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 20, 2008

In this tutorial I will be showing you how to make python recive data so you can enter your own number. Thanks for watching and as always please vistit Medic873.Com And Medic873Programing.Com

Here is the coding for the python program.

def calculator(): value1 = input ("Please Enter The First Number") value2 = input ("Please Enter The Second Number") print value1 + value2

Thank You

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (LeetMedic873)

  • you should type def calculator(): i belive. thank you

Top Comments

  • horrible. i can barely hear a damn thing except the keyboard and you dont explain anything just type.

  • absolutly

see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • never mind I found it

  • jaunty and intrepid have python in the distro

  • good choice for the os and ya i have the problem too do you go to the terminal and type python or enable programind then ...... whatever

  • Hey wait.... When I did def calculator(): it came up with errors. But when I did def calculator(): then on the next line: pass it worked.

    I am running ubuntu and am using it in the terminal, so that could be my problem. I'll try to start writing my programs in gedit now i guess. :P

  • Hard to hear and see....looks to be a good video but all is lost because of volume and screen resolution..

  • thanks, but now it's saying that value1 is a syntax error >:(

  • Okay, so when the program is complete and you go back to the shell, what do you type in? just calculator, or like run calculator? the screen is too small to see what you wrote

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more