This week we learned more about the Python language, different functions and different methods that it has to offer. I learned ways to make writing scripts more accurate and how let Python help you along. We went more into depth with strings, variables, statements & expressions.
For this weeks lab, we had to write our own script that would eventually result in a number that is triple the length of our last names. We initially started with our full name. After writing/running MY script, I came up with 21. Johnson = 7 letters. 7 x 3 = 21. Success! The above image is simply the result of running my script in PythonWin.
No comments:
Post a Comment