The objectives of this lab assignment are as follows:
To properly complete this assignment, you will need to apply the following skills:
As a user I want an application that will allow me to know which numbers in a range of values are evenly divisible first by 3, then by 5, and then by both 3 and 5.
In this assignment we are asking the user to enter two number values, the starting and ending numbers for our application. Having these values, we then construct a loop that will increment by one (1) from the starting number through (and including) the ending number. Within this loop we will check the current value of our number to see if it is evenly divisible by 3, then by 5, and then by both 3 and 5. We will output all values to the screen and note which are divisible by “3”, “5”, or “Both.”
Important: As part of this assignment the checking to see if a value/number is evenly divisible by 3, by 5, or by both is to be handled within a function or set of functions. How you implement this is up to you. But your project needs to implement at least one function.
For example, if the user enters 1 for the starting number and 100 for the ending, we will loop through all values of 1 through 100, one at a time. For the first value we will print “1”. For the next “2”. But for three we will print “3 – 3”. For five “5 – 5”. But for 15 we will print “15 – Both”.
This should not be difficult work. They key to this is understand for each value whether it is evenly divisible by 3 or 5 or by both 3 and 5. This requires that you use the Modulo operator in Python. All programming languages have a modulo operator.
When complete, your output should be as pictured below:
In this example, my starting value is 1 and the ending value is 25:
In this example, my starting value is 15 and the ending value is 30:
Note: The example output provided above is simply an example. You do not need to format your output to look exactly like mine. You simply need to ensure that you have met the technical requirements for this application and ensure your output is neat and professional looking.
You must ensure that the application you submit meets all technical/grading requirements. Your grade will be based on how well your application follows the application requirements plus the following:
Important: Your output must include all of the following: each value in the range between the starting and ending values entered by the user, and some notation as to whether that value is evenly divisible by 3, 5, or both 3 and 5.
In this final project, you will continue to demonstrate your overall knowledge of the Python language.
In this final assignment you will demonstrate your knowledge of basic Python programming principles. You will employ what you already know while possibly having to look up one new concept (the modulo operator). You will input data from the user, contruct a loop, perform some conditional logic, and implement some of your code in at least one function. You will write an application that will allow the user to see if a number is evenly divisible by 3, by 5, or by both 3 and 5 together.
IMPORTANT: If I find that your code matches code out on the web for this programming part of the Final Exam, it is an automatic zero for it.
Our Advantages
Plagiarism Free Papers
We ensure that all our papers are written from scratch. We deliver original plagiarism-free work. To guarantee this, we submit all work alongside a plagiarism report.
Free Revisions
All our papers are completed and submitted before the deadline. We ensure this to provide you with enough time to go through the work and point out any sections or topics that may need revision or polishing. We provide unlimited revision services for free.
Title-page
All papers have a title page providing your personal and institutional information. We do not charge you for this title page.
Bibliography
All papers have a bibliography or references page. This page is a requirement for academic and professional documents. We provide this page at no cost for all our papers.
Originality & Security
At Thehomeworklabs, we guarantee the confidentiality and security of your information. We value our clients and take confidentiality seriously. All personal information is treated with confidentiality and stored safely to ensure that no third parties gain access to it. We also provide original work and attach an originality/plagiarism report alongside all papers.
24/7 Customer Support
Our customer support team is available 24/7 to provide you with any necessary assistance when you need it. You can contact us at any time, day or night, via email or through the live chat button.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
We provide our customers with the best experience in the academic and business writing field.
Pricing
We provide the best quality of service at affordable prices. We also allow our clients to make partial payments for their orders. You can also contact our customer support team in case you need to discuss a different payment plan.
Communication
Admission help & Client-Writer Contact
We realize that sometimes clarification is necessary to ensure that quality work is done. Therefore, we provide a button for clients and writers to communicate in case some clarification is needed.
Deadlines
Paper Submission
We ensure that we submit all papers ahead of their respective deadlines. This allows you to go through the documents and request any revision, corrections, or polishing before the paper is due.
Reviews
Customer Feedback
We encourage customer feedback, positive or negative. We can identify the various areas that we need to improve to provide even better services through your feedback. Please feel free to give us feedback.