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


No hay comentarios:
Publicar un comentario