oh yea, it doesn't use, but i thought it does. nvm ;DD i guess my mind got messed up after using java
This is not valid in python. Python is based on pseudo-code, which relies heavily on indentation. Where the start of curly bracket would be there is a colon. This follows a line-break and indentation. Everything inside the function/statement is on the same level of indentation. It's similar to case statements in other languages. Having said that, {} and [] are used for lists and dictionaries in python. These are very interesting and highly useful if done properly.
I'm Italian and I'm not proud of it * goes to hide in shame after thinking of A LOT of his compatriots*
C'est en français wow! Bien que je ne comprend pas les codages (je suis nul à ça) ça fait plaisir de voir un peu de français ici
Lol, looking at the previous pages that contains everything but your solution.... I think you are asking in the wrong place here....
So getter and setter refer to methods for encapsulation. Good programming should always separate out the interactions between objects and users. In this case, getter and setter make it so that only by running these methods can the values of the attributes of personnage be viewed or modified directly. Setter will make it so that if you need to set the value of vie, perhaps through some skill a character uses, it can only be done that way. Getter makes it so that vie will only be viewable through this method. Also use more comments. If you want people to understand your code, including yourself after a 6 month hiatus, you need to document it.
true it happened a lot in the past but i always forget XD thanks ^^ j'en suis fort aise (jdec c'est un plaisir mec XD)