Question: def get _ user _ num ( ) : # Print a message indicating that the function is not yet implemented print ( FIXME:

def get_user_num(): # Print a message indicating that the function is not yet implemented print("FIXME: Finish get_user_num()") # Return -1 as a placeholder value return -1 def compute_avg(): # Print a message indicating that the function is not yet implemented print("FIXME: Finish compute_avg()") # Return -1 as a placeholder value return -1 # Sample calls to demonstrate the output if __name__=="__main__": # Call get_user_num() twice to show the stub output get_user_num() get_user_num() # Call compute_avg() once to show the stub output compute_avg() # Print the output of compute_avg(), which is currently -1 print("Avg: ", compute_avg())

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!