Simple Python program
Create a set of functions to show as a turtle image the upper case letters of your last name and the digits of your birth year. Each character should be designed in an 8x6 matrix, leaving the top row and the last column blank. The definition of each of these function will be:
def ch_<character> (t,x0,y0,color,width)
where:
t: Turtle object
x0, y0: coordinates in pixels of the lower left point where the character will be displayed
color: name of the color to use (string)
width: width of the pen, that will also be the scale of the letter 1, 2, ... (integer)
Then create a main program to write your name and year of birth.
An example of letter design is shown in the following image, but you could use your own:
As in previous weeks insert the code as online text and a screenshot of the results as a file attachment.
8 years ago 10
- CIS 205 Week 3 Individual Assignment Hardware and Software Paper
- Describe how these principles might help you develop personally and professionally as a health care leader or provider. Discuss your thoughts relative to Carney and Kahn's cultural competency training five stages.
- LDR 531 Week 4 Assignment - Determining Your Perfect Position
- You must use an Array as your data structure to store the input grades
- Constitutional Law
- ENG 125 Week 5 Assignment Final Paper
- school
- PSY 285 Week 3 CheckPoint Confirmation Bias
- its not an essay ( only responding to my peers) 150-200 words
- BA / 578 Midterm Exam I Summer II 2015