Parsons Problems: Functions

Test out your function and control structure coding skills! Pay attention to indentation: each section inside curly brackets should be indented further.

0/5

Problem 1

This function returns whether a given number is odd or even.


Problem 2

This function repeatedly asks the user for the password until they get it correct.


Problem 3

This program defines then calls a function to calculate how many total pizza slices were eaten.


Problem 4

This function compares two numbers and returns a string stating which one is greater.


Problem 5

This program defines then calls a function to calculate the average of a certain number of input scores.