During this week's exercise, I learned how to use variables, strings, lists, functions, and methods all within Python. For this assignment, I was asked to create a string variable of my full name. Using everything I've learned in the exercise, I was able to print my last name, assign a variable containing the letters that form my last name, and assigned another variable that allowed me to multiply the letters in my last name by three. The flowchart shown below shows the steps I took to get my result. In the image beneath that, it shows my results of my script.
No comments:
Post a Comment