Sign In
Not register? Register Now!
Essay Available:
Pages:
2 pages/≈550 words
Sources:
No Sources
Level:
APA
Subject:
Technology
Type:
Coursework
Language:
English (U.S.)
Document:
MS Word
Date:
Total cost:
$ 12.96
Topic:

Python Program (Coursework Sample)

Instructions:

Module 3 - Case
CONDITIONAL, ITERATIONS, AND LOOPS
Case Assignment
Case 3 assignments review program flow control with conditionals, loops, and iterations.
Review the videos and read chapter 9, and 10 (sections 10.1 – 10.4 and 10.7 only) in the online book of "Python 2: For Beginners Only” and complete the following exercises from “Python 2: For Beginners Only.”
Exercise 9.2, Exercise 9.3
Exercise10.2, Exercise 10.3
Create a Word file named as “ITM205-Case 3-Exercises-YourFirstNameLastName”containing a copy of each of the exercises’ IDLE source codes and running results with clear exercise numbers marked on the page.
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.
Write a summary document in Microsoft Word format named as “ITM205-Case3-Summary-YourFirstNameLastName” to show what you have accomplished.

source..
Content:

Students Name:
Topic:
Institution:
Date:
Exercise 9.2
Write a Python program that collects from the user a single integer. Have the program print "EVEN" if the integer is divisible by 2, and "ODD" if the integer is not divisible by two
num = 0
print("This program checks for EVEN or ODD numbers")
while (num != -1): #Continue looping unless user inputs -1
num = int(input("Enter a number: ")) #Get user input
if (num % 2 == 0): #Check if the number is divisible by 2 i.e. is EVEN
print("EVEN")
else...
Get the Whole Paper!
Not exactly what you need?
Do you need a custom essay? Order right now:

Other Topics:

  • Working with Functions, Built-in and Programmer Defined Functions
    Description: Python has a group of standard (built-in) functions in its library which can be used for programming tasks...
    1 page/≈275 words | 1 Source | APA | Technology | Coursework |
  • Programmer Defined Function
    Description: Review the assigned videos in the background materials of the course before attempting to read the Python chapters....
    1 page/≈275 words | 6 Sources | APA | Technology | Coursework |
  • Introduction to Python
    Description: 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,...
    1 page/≈275 words | No Sources | APA | Technology | Coursework |
Need a Plagiarism Free Essay?
Submit your instructions!