+ 1
Help please!!
Why is my code giving syntax error on line 5 as it all fine to me:- def KelvinToFahrenheit(Temperature): assert (Temperature >= 0),"Colder than absolute zero!" return ((Temperature-273)*1.8)+32 print KelvinToFahrenheit(273) print int(KelvinToFahrenheit(505.78)) print KelvinToFahrenheit(-5)
10 Respostas
+ 1
As already mentioned, its always better to link the complete code here if it creates problems.
0
đđąđąđđš đđĄđđČđđ„ bro how to post link as I write this code on python try yourself??
0
đđąđąđđš đđĄđđČđđ„ here it is broâđ»
0
thanks bro.......how can I make such a stupid mistake by not adding bracketsđłđł