Question: Complete a Python function name Report to output the current weather report to the console with the following prototype. Design your unit test cases and
Complete a Python function name "Report" to output the current weather report to the console with the
following prototype. Design your unit test cases and display the result.
def ReportPlace cTemp, cRain, cDate, cTime
Remark:
Use one decimal place for temperature and rainfall data
If both cTemp and cRain are equal to the following message should be displayed
no record for Region
If cTemp is equal to no temperature information should be displayed
If cRain is equal to no rainfall information should be displayed
If rainfall is less than the message No rainfall for the last hour" should be displayed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
