Question
QUESTION 1) PYTHON: write a code that DEFINES these functions: 1) who() This function should print out the name Steven Mavi and Has worked with
QUESTION 1) PYTHON: write a code that DEFINES these functions:
1) who()
This function should print out the name "Steven Mavi" and "Has worked with basic stamp before"
2) sign(#)
This function should accept one parameter, a number, and should print telling us if the number is positive, zero, or negative.
make sure this function prompts the user to enter a POSITIVE
3) printOdd(#)
This function accepts one parameter, a number, and should print ALL odd values from 1 thru this number in input. IMPORTANT: odd value is a value that has a remainder of 1 when divided by 2.
4) right_Most(#)
This function accepts one parameter, a whole number, and RETURNS the right most digit in the number
5) howmanyZeros(#)
This function accepts one parameter, a whole number, and RETURNS the count of zero's in the number
* FOLLOW FUNCTION DEFINITION WITH MAIN PROCESS STATEMENTS WHICH-
1.) calls the 'who' function, that the program STARTS by outputting users information
2.) prompt the user for a positive int and stores it-
* If the user does not enter a valid number, ask them to enter again, until a valid value has been input.
3.) Prompt the user with these choices:
*output sign of the value
*printout ALL ODD values up to the number
*output the RIGHT MOST digit in the value
*output the number of zeros in the value
4.) Carry out the users choice. Be sure to call one of the functions that you have defined to do this.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started