0

I cant pass this challenge

I've written my own codes to give the same output but it seems they want me to write it the way they know Some should help out. These is the question: You are making a Celsius to Fahrenheit converter. Write a function to take the Celsius value as an argument and return the corresponding Fahrenheit value. Sample Input 36 Sample Output 96.8

27th Jun 2022, 11:55 AM
Emmanuel Okechukwu
Emmanuel Okechukwu - avatar
3 Respuestas
+ 6
Please show us the code that you have tried.
27th Jun 2022, 12:20 PM
Lisa
Lisa - avatar
+ 5
I can guess that the problem u face is the indentation so let me see the code u wrote
27th Jun 2022, 1:29 PM
Aly Alsayed
Aly Alsayed - avatar
0
I had later gotten it Here's the code x= int(input()) def conv(c): #your code goes here f = 1.8 c = f * x p = c + 32 return p fahrenheit = conv(x) print(fahrenheit)
30th Jun 2022, 2:11 PM
Emmanuel Okechukwu
Emmanuel Okechukwu - avatar