Temperature – WSQ-02 (Python)

--Originally published at TC1017 (Python3) – Titel der Website

Hello students and friends,

i wrothe a new programm. It is about the temperature in Farenheit and in Celcius.

 

WSQ02 - SourceCode - Temperature.PNG

Line 3 is prompt. The Keyword input want something from the User. (In this Case the Temperature in Farenheit).

You may think that for example the number 100 will be safed as an int. But python3 safe every singel tocken as a String.

For showing the Temperature in Celcius, it is important to convert the String f in a float.

WQS02 - Ergebnis - Temperature.PNG

This is the result of my Source Code.

 

Best regards

Sercan Asker