Ok so I asked a similar question to this before and I was told to check if TNX-IRX < 0. How would I do that in Python and simultaniously check if US Consumer Confidence is over 100. Any help would be appreciated, thanks.

Author