Posts by Ph13 • 57 points
3 posts
-
-2
votes1
answer16467
viewsQ: Error: 'int' Object is not subscriptable
In a long jump competition each athlete is entitled to five jumps. The result of the athlete will be determined by the average of the five remaining values. You must make a program that receives the…
-
1
votes2
answers457
viewsQ: Why doesn’t my while work?
I’m studying repetition structure and in one of the exercises I had to check the sex typed, so I made the following code: sexo = input("digite m ou f: ") while sexo != 'f' or sexo != 'm': sexo =…
-
4
votes4
answers837
viewsQ: Problems with conditional structures
I started programming a little while ago and I’m doing some Python exercises. The problem is that the result variable always returns "Approved" even when the concept is "D" or "E". I’ve broken my…