Escape Sequence Assignment
1.2 Escape Sequences
create a variable called
firstLetterand store the first letter of your last name as a string. The print the value stored is first letter surrounded by '. For example, I would display'W'print“Practice is not the thing you do once you are good. It is the thing you do that makes you good.” - Malcolm Gladwell Note: you need to display the “ “.display your first name and last name on one line together with your date of birth on another line and indented using only one
printcommandcreate a function called
yearAgan(y)that accepts the numeric year (for example "1985") as the inputyand prints the following"It is 1985 all over again"Write one
printstatement that produces the following output:/ \ // \\ /// \\\create a function
spikey()that has no value passed in, but when it is called produces the following output. Each line of output should be its ownprintcommand.

Your code should have at least four comments that explain the purpose of a function, variable or command statement . Programming convetion dictatest that all of your procedures should be together (at the top of the program file) and your procedure calls should be together at the bottom of the file.


There is no starter code or txt file for this - you are starting from a blank page in a visualizer.
When you are finished - upload your .txt file to the assignment in schoology.
Last updated