Professional Documents
Culture Documents
Assignment 1: Think Python Vpython
Assignment 1: Think Python Vpython
Assignment 1
Due at 11:55 pm, Mon., Jan. 29
Finished assignments are to be submitted to Blackboard by the time specified above. The
answers to the Exercises can be succinct. No need to hand in if with *. Each exercise is
2 points. Each problem is 10 points. For the problems, it should include your program,
the corresponding console box so your input and printed output will be obvious, and the
graphic output or output file when applicable. TP here stands for Think Python 2nd Ed.
Reading Assignment:
Read TP Chaps. 1-3, 5-7 and go through Python_3_documentation from
Spyder/Help/Online_documentation to get the idea of what are available.
Exercises:
*E1-1. Download Think Python into your computer. Get to Vpython site, click
“Using VPython with installed Python” and follow the instructions to set up the
IDE Spyder.
E1-2. TP Exercise 3.1.
E1-3. TP Exercise 6.3.
*E1-4. Watch the first three Vpython introductory videos in Vpython Documentation.
Problems:
P1-1. TP Exercise 5.3.
P1-2. TP Exercise 7.2.
The image thus saved in the computer clipboard can be pasted into a Word or
PowerPoint document by opening a new file and clicking the Edit menu in the document
window, and then click Paste.
To copy the window or screen contents in a Mac, click Grab in Utilities and make proper
choices.