+ 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 Respuestas
+ 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😳😳