jeudi 15 juillet 2021

Python Running If Statement Even Though It's False [closed]

I have an if statement and an elif statement in my Python code. The if statement is false and the elif statement is true, but the if statement still runs. If anyone can help, it'd be very appreciated.

Code: https://pastebin.com/BKLcNgLD

Output:

New England Patriots
Player  G  Comp  Att  Pct  Yds  Y/A  Y/G  TD  Int  Long  Sack  YdsL  QBRat  Fum  FL
Cam Newton  15  242  368  65.8  2657  7.2  177.1  8  10  50  31  195  82.9  6  1
Jarrett Stidham  5  22  44  50.0  256  5.8  51.2  2  3  38  4  21  54.7  0  0
Brian Hoyer  1  15  24  62.5  130  5.4  130.0  0  1  25  2  18  59.4  1  1
Jakobi Meyers  14  2  2  100.0  43  21.5  3.1  2  0  24  0  0  158.3  1  1
Julian Edelman  6  2  2  100.0  38  19.0  6.3  0  0  22  0  0  118.8  0  0
NBA

Aucun commentaire:

Enregistrer un commentaire