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
3 Réponses
+ 6
Please show us the code that you have tried.
+ 5
I can guess that the problem u face is the indentation so let me see the code u wrote
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)