Question: H5-1l boolexpr.py) Write a Boolean (bool) function is in course (month, day) that returns True when month/day falls within the dates of our current GPS
H5-1l boolexpr.py) Write a Boolean (bool) function is in course (month, day) that returns True when month/day falls within the dates of our current GPS Summer Semester, which started on June 29 and ends on July 18. Ifmonth/day falls outside this range (which includes both starting and ending dates), return False Then write a main() function that reads integers month and day from the user, then calls is in course (month, day) and prints out 'month/ day is in Summer Semester'or month/day is NOT in Summer Semester'. Example for month-9, day7: print 9/7 is NOT in Summer Semester. Finally, call main) as the last statement in your py file. Note that your function should only return True or False, with the main() function calling the is in course(...) function then printing out the text which depends upon its returned value. 15.2 (speeding.py) The speeding ticket fine policy in Beldenville is $50 plus $5 for each mph over the limit, plus a penalty of S200 for any speed over 90 mph. Write a program that reads a float speed limit and another float as the measured speed, then cither prints a message indicating the speed was legal or prints the amount of the fine if the speed was illegal. (115-31 (score2grade. py) Write a Python program that reads an int number score from the user in the range from 0 to 100, inclusive. Then print out the equivalent letter grade, as per the following curve 90score C 60score D 0 F You should also check that the entered score is >-O and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
