As we learn more about Python scripting this week, we used functions and methods, which are types of instructions for the program. We wrote a script in which the input was a string, consisting of our full names. The final output was our last name, and the number of letters in that name time 3. My results are shown below:
The last name, Sease, and 15, which is 3 times the number of letters of my last name.
No comments:
Post a Comment