Posts by Matheus Cavalcante • 65 points
3 posts
-
0
votes1
answer203
viewsQ: Exception Treatment does not work when dividing by zero
I need to read a set of values and report the division between them, regardless of whether they are positive or negative. The problem says that if there is a division by zero a message should be…
-
2
votes2
answers97
viewsQ: How to access a list that is inside another list in Python?
I have a list that has within it another list with the students' names, and a list that has been divided into two more lists, representing the first note and the second note. For example:…
-
2
votes1
answer281
viewsQ: How to sort a list in Python
I’m solving a Python exercise that asks me to sort a list of 5 values typed by the user in ascending order, without using the Sort() method. The problem is my code isn’t working as it should. The…