Introduction to Python (Coursework Sample)
INTRODUCTION TO PYTHON
For SLP 1, you will use Shaw’s e-textbook. You need to review Exercises 3, 4, and 5 and would need to copy each of these exercise’s code as they are listed on the e-textbook and run them through the Python editor (IDLE). Once you have executed the code, copy the code and complete the following Study Drills by making the necessary code revisions as indicated on each of the exercise drills. You need to run the IDLE to execute the changes and review the program results.
You can use the Snipping tools or screen print (ctrl + Print Screen) to show the Pythons editor’s (IDLE) code and results and demonstrate that your program executed correctly.
Exercise 3: Study Drills # 1, 3, 4, and 5 and run the code
Exercise 4: Study Drills # 1, 2, and 3 and run the code
Exercise 5: Study Drills # 1, 2, and 3 and run the code
A common mistake that occurs is that when you cut/paste the code directly from the tutorial, there will be extra empty spaces before certain lines, then you will encounter a syntax error message "unexpected indent" when you run the program. Fix the problem by deleting the extra indent.
Create a Word file named as “ITM205-SLP 1-Exercises-YourFirstNameLastName” containing a copy of each of the exercise drills’ IDLE source codes and running results with clear exercise/drill numbers marked on the page.
You can use the Snipping tools or screen print (ctrl + Print Screen) to show the IDLE code and results and demonstrate that your program executed correctly.
Finally zip all of the above three files into file named as “ITM205-SLP1-YourFirstNameLastName and then submit/upload it.
Module 1 - SLP INTRODUCTION TO PYTHON
Name:
Institution:
Exercise 3
After Study Drills 1, 3, 4, 5
The source code is below:
The result is:
Exercise 4
After Study Drills 1, 2 and 3
The source code is below:
The result is:
Exercise 5
After Study Drills ...
YOU MAY ALSO LIKE
- Human rights Essays
- Career Essays
- A rose for emily Essays
- Personal experiences Essays
- Things fall apart Essays
- Abraham lincoln Essays
- Heart of darkness Essays
- Suicide Essays
- Fast food Essays
- Short story Essays
- French revolution Essays
- High school Essays
- Standardized testing Essays
- Marijuana Essays
- Brave new world Essays
- Respect Essays
Other Topics:
- Case Study Microsoft Access Description: Assuming that my database contained around 1000 suppliers, I would be able to create my additional reports besides the contact information report ...1 page/≈275 words | 2 Sources | APA | Technology | Coursework |
- Static and Dynamic RoutingDescription: Dynamic routing protocols have evolved over several years to meet the demands of changing network requirements...2 pages/≈550 words | 6 Sources | APA | Technology | Coursework |
- Case Static and Dynamic RoutingDescription: Static routes are commonly used when routing from a network to a stub network. A stub network is a network accessed by a single route...2 pages/≈550 words | 4 Sources | APA | Technology | Coursework |