This week I learned how to use methods, functions, strings, and loops. This was my first attempt at creating a script and I did feel intimated. After doing the readings I did feel more confident. I pritned my last name from a string, made fixes to the provided dice game script, created a list of 20 random numbers from 1-10. I then determined an unlucky number and created a code to remove this unlucky number from the list and tell me how many times it was removed. I did have troubles with formatting and indenting in the scripts.
No comments:
Post a Comment