Question: BlockPy: #32.4) Function with For Define a function print_fahrenheit that consumes a list of Celsius temperatures and uses a for loop to print each element



BlockPy: #32.4) Function with For Define a function print_fahrenheit that consumes a list of Celsius temperatures and uses a for loop to print each element of the ist in Fahrenhiet. Use the code below to call this function Notice that this function prints instead of returning. You should always read the description of the function carefully. Console Feed back Ready Run BlocksSplitText ResetUploadHistory 1 print_fahrenheit([20, 30, 40]) BlockPy: #32.5) For with Function Create a function convert_fahrenheit that consumes a single temperature in Celsius and returns it in Fahrenheit. Then, use that function inside a for loop to convert and print each of the following temperatures: 10, 20, and 3e Be sure to read these instructions carefully - write a function that consumes a SINGLE temperature, not a list Feedback Ready Console Run Blocks SplitText Reset UploadHistory 1 BlockPy: #32.6) Replacing in Loops Use the replace method on each of the following filenames to turn the dashes into spaces. Console Feedback: Ready Run Blocks ++Split / Text | Reset O Upload- E History 1 filenames -["A1l-the-Single-Ladies.mp3" "Call-Me-Maybe.mp3", Chicken-Dance.mp3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
