0% found this document useful (0 votes)
72 views

Coding Instructions

The document provides 10 step-by-step instructions for coding on a Raspberry Pi: 1) log in, 2) start the programming environment, 3) open IDLE3, 4) print "Hello World!", 5) create a new file, 6) save the file as a Python file, 7) type sample code asking for a name and printing it, 8) save the file, 9) run the file, and 10) add additional questions and answers.

Uploaded by

api-314185897
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views

Coding Instructions

The document provides 10 step-by-step instructions for coding on a Raspberry Pi: 1) log in, 2) start the programming environment, 3) open IDLE3, 4) print "Hello World!", 5) create a new file, 6) save the file as a Python file, 7) type sample code asking for a name and printing it, 8) save the file, 9) run the file, and 10) add additional questions and answers.

Uploaded by

api-314185897
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

CODING INSTRUCTIONS

1. Log into the Raspberry Pi using the username pi


and the password raspberry.
2. Type in: startx
3. Access the programming environment IDLE3. To
open IDLE3:
a. Double-click on the IDLE3 icon on the
desktop or click on the Main Menu and
select Programming, followed by IDLE 3.
4. Print ("Hello World!")
5. Create a new text editor file by clicking on File
> New Window from the menu at the top of the
IDLE3 window.
6. Save this file by clicking on File>Save As and
naming it name1.py.
7. Type the code:
#MyPythonProgramby....
name=input('whatisyourname:'),
print("Nicetomeetyou",name)

8. Save the file as a Python file by clicking on File


then Save As, and name it robot.
9. Then run the file by clicking on Run then Run
Module.
10.
Feel free to add whatever kind of questions
or answers you like! Be creative!

CHATBOT Response
QUESTION:
________________________________________________
________________________________________________
CORRECT ANSWER?

YES

NO

QUESTION:
________________________________________________
________________________________________________
CORRECT ANSWER?

YES

NO

QUESTION:
________________________________________________
________________________________________________
CORRECT ANSWER?

YES

NO

You might also like