Skip to content

Instantly share code, notes, and snippets.

@nasajpledu
Created April 30, 2024 23:56
Show Gist options
  • Save nasajpledu/2cbc263002471ed7c15444f03876a0a7 to your computer and use it in GitHub Desktop.
Save nasajpledu/2cbc263002471ed7c15444f03876a0a7 to your computer and use it in GitHub Desktop.
if p3 >= 200 and p4 >= 250:
(p3.iloc[x] / (t8.iloc[x]*2) + p3.iloc[x] / (t9.iloc[x]*2)) / (p4.iloc[x] / (t14.iloc[x]*3) + p5.iloc[x] / (t15.iloc[x]*3)) = a
if a >= 0.80:
print("Conditions Met")
elif a <= 0.80:
print("Warning: Low Oxygen Levels")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment