So here is my first script. written in text editor, saved as "ps0.py" given permission to execute, but just blasts on and off the screen giving no chances to enter data or even see lines programmed print.... ugh . written on linux
#! /usr/bin/python
x = raw_input("Enter Name")
print "Hey" + x
raw_input(Press
The first 10 to 15 things here cover dome of the gaps: https://buckysroom.org/videos.php?cat=36 See, the MIT class was designed around people that already know a little programming OR were taking a 5 week intro class at the same time. The short videos Bucky makes will fill in the gaps.
print (raw_input(What is your name)) is where i started for example. i'll check out that video. ty
Yah, they will get you past a lot of the super basics, which helps.
So here is my first script. written in text editor, saved as "ps0.py" given permission to execute, but just blasts on and off the screen giving no chances to enter data or even see lines programmed print.... ugh . written on linux #! /usr/bin/python x = raw_input("Enter Name") print "Hey" + x raw_input(Press<enter>
This is my first time responding here, so feel free to let me know if I do anything wrong. The following is the code I used. Below, you'll see the explanations. x = raw_input('What is your birthdate?') y = raw_input('What is your last name?') print y, x Line 1-2) This is saying, I'm going to ask for input, and save it under x. Line 3) This calls on the print command, the print the data you saved under x and y. The comma between t and x, allows you to keep the information your 'print'ing on the same line.
@mitsolo Are you using the graphical environment? Might want to open a terminal and run it that way.
Join our real-time social learning platform and learn together with your friends!