Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Python 1. Write a python function odd that takes one number and returns True when the number is odd and False otherwise. You should use
Python
1. Write a python function "odd" that takes one number and returns True when the number is odd and False otherwise. You should use the "mod" operator. The function must return a boolean expression. Call the function in the main body to test it. 2. Write a program to create a function show_student () using the following conditions. - It should accept the Student's Name, Number and GPA from the user and display all. - If the GPA is Greater than or equal to 4 print "Excellent Student" - If the GPA is less than 2.5 print " low level student" - Else print "average student" - Use default values and call the function in different ways. Hint Input: Enter Student's Name: Sara Enter Student's Number: 44325789 Enter Student's GPA: 4 Expected output Student's Name: Sara, Number: [44325789], GPA: [4] is an Excellent Student Please upload your work (with screen shots of the output) through your blackboard portal before December 28, 2022 (before 8:00 AM) 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