IT 140: Introduction to Scripting v3 home >= zyBooksE zyBooks catalog? Help/FAQ8 Jose Roque -5.9: Functions: Common errorsCHALLENGE5.9.1: Function errors: Copying one function to create...


My Courses<br>B Announcements - IT-140-<br>zy Section 5.9 - IT 140: Introc x<br>b Computer Engineering Q x<br>* Upload Documents for Fr x<br>+<br>Ô https://learn.zybooks.com/zybook/SNHUIT140V3/chapter/5/section/9<br>My library > IT 140: Introduction to Scripting v3 home ><br>= zyBooks<br>E zyBooks catalog<br>? Help/FAQ<br>8 Jose Roque -<br>5.9: Functions: Common errors<br>CHALLENGE<br>5.9.1: Function errors: Copying one function to create another.<br>АCTIVITY<br>Using the celsius_to_kelvin function as a guide, create a new function, changing the name to kelvin_to_celsius, and<br>modifying the function accordingly.<br>Sample output with input: 283.15<br>10.0 C is 283.15 K<br>283.15 K is 10.0 C<br>247772.2002516.qx3zqy7<br>1 def celsius_to_kelvin(value_celsius):<br>value_kelvin = 0.0<br>2<br>1 test<br>passed<br>3<br>value_kelvin = value_celsius + 273.15<br>return value_kelvin<br>4<br>5<br>6<br>All tests<br>7' Your solution goes here '''<br>passed<br>8<br>9 value_c = 10.0<br>10 print (value_c, 'C is', celsius_to_kelvin(value_c), 'K')<br>11<br>12 value_k = float (input(O)<br>13 print(value_k, 'K is', kelvin_to_celsius (value_k), 'C')<br>Activate Windows<br>Go to Settings to activate Windows.<br>6:37 PM<br>P Type here to search<br>89°F Partly sunny<br>A G 9 4»)<br>7/31/2021<br>

Extracted text: My Courses B Announcements - IT-140- zy Section 5.9 - IT 140: Introc x b Computer Engineering Q x * Upload Documents for Fr x + Ô https://learn.zybooks.com/zybook/SNHUIT140V3/chapter/5/section/9 My library > IT 140: Introduction to Scripting v3 home > = zyBooks E zyBooks catalog ? Help/FAQ 8 Jose Roque - 5.9: Functions: Common errors CHALLENGE 5.9.1: Function errors: Copying one function to create another. АCTIVITY Using the celsius_to_kelvin function as a guide, create a new function, changing the name to kelvin_to_celsius, and modifying the function accordingly. Sample output with input: 283.15 10.0 C is 283.15 K 283.15 K is 10.0 C 247772.2002516.qx3zqy7 1 def celsius_to_kelvin(value_celsius): value_kelvin = 0.0 2 1 test passed 3 value_kelvin = value_celsius + 273.15 return value_kelvin 4 5 6 All tests 7' Your solution goes here ''' passed 8 9 value_c = 10.0 10 print (value_c, 'C is', celsius_to_kelvin(value_c), 'K') 11 12 value_k = float (input(O) 13 print(value_k, 'K is', kelvin_to_celsius (value_k), 'C') Activate Windows Go to Settings to activate Windows. 6:37 PM P Type here to search 89°F Partly sunny A G 9 4») 7/31/2021
Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here