Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment needs to be written in Python programming (3). I keep receiving a syntax error when I try to run the program. In the attached

Assignment needs to be written in Python programming (3). I keep receiving a syntax error when I try to run the program. In the attached photo the left window is the assignment, and the right is what I have written so far. If you could help me fix my code so that the program can be executed properly. thanks. image text in transcribed

Untitled Microsoft Word-Projects.docx x+ File Edit Format Run Options Window Help https://tamu.blackboard.com/bbcswebdav/pid-517. I usr/bin/env python3 number-0 t define the function def print_even (measage): print (mesage) print () Project 4-1: Even or Odd Checker Create a program that checks whether a number is even or odd. Console t call the title/message that displays message"Even or odd Checker" print even message Even or Odd Checker det main): t get user input number - int(input ("Enter an integer:") Enter an integer 33 This is an odd number # def of even function def even (number) Specifications .Store the code that gets user input and displays output in the main function. check to ee if it' even with if number\2= 0: print ("This is an even even mber." .Store the code that checks whether the number is even or odd in a separate function Assume that the user will enter a valid integer def of odd function def odd (numbe: check to see if it's odd with % if number 2--1: print ("This is an odd number.") t call the cven and odd function even (number) odd (number)| In: 32 Cal: 1 11:23 PM 2/12/2019 Type here to search

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

What is the role of the FASB in financial reporting?

Answered: 1 week ago

Question

=+Understand the fi eld of comparative IHRM.

Answered: 1 week ago