+ 1

what's wrong with my code?

# Physical test score physic_test = int(input()) # Flight simulation test score flight_test = int(input()) # Combine the operations to get the final result total_score = int(physic_test) >= int (flight_test ) # Display the result on the screen print (total_score )

7th Jul 2025, 5:39 PM
Vernon Lobeko
Vernon Lobeko - avatar
3 Respostas
+ 1
Do you know what >= means? If so why would you use that here?
7th Jul 2025, 5:54 PM
Zvi
Zvi - avatar
+ 1
Vernon Lobeko , > is the exercise you posted one from a tutorial, or what is the source? > if it is from sololearn, can you name the tutorial, the modul and the lesson / exercice? > it would be great to have the original task description.
7th Jul 2025, 6:38 PM
Lothar
Lothar - avatar
0
Also, you've taken the input and converted it to type integer, you don't need to try to convert physic_test and flight_test to integer again.
7th Jul 2025, 6:34 PM
Ausgrindtube
Ausgrindtube - avatar