This is my code in Python for calculating converting the temperature from Fahrenheits into Celcius. This is my first time using the conditionals IF and ELSE in Python.

Here are some things that I learned about Python on this exercise:
-The sintaxis is a little bit different from the other languages because it uses “:” instead of “{“
-Here the indentaion is important, you should write a conditional IF and then write with indentation what is inside it.

I´m going to show you an example, I used the program for this excercise.

The program working is this:

I learned all this by reading the book, it´s very useful.

If you want to check my code on Github this is the link:
https://github.com/Jocapear/TC1014/blob/master/WSQ05.py

CC BY 4.0 WSQ05 – Temperature by Jose Carlos Peñuelas Armenta is licensed under a Creative Commons Attribution 4.0 International License.