Posts by Mel • 21 points
2 posts
-
1
votes2
answers912
viewsQ: How to display an upper triangular matrix?
Write a program that prints a 10x10 matrix that is triangular higher, that is, the elements below the main diagonal are null (or zero). Until then I managed to do this: for linha in range(10): for…
-
-4
votes2
answers1757
viewsQ: Request whole numbers and count even and odd numbers
Question: "Make a program that asks the user 5 integer numbers and, to final, enter the amount of odd numbers and pairs read." I’m having a hard time on this issue, I really don’t know how to get it…