datetime の比較
2008年の混乱したサブプライム危機を引き起こした出来事を整理して理解したいとします。いくつかの重要な日付について datetime が用意されています。たとえば、Lehman Brothers の破綻申請、TARP 法案の可決、そして Goldman Sachs と Morgan Stanley の投資銀行業務からの撤退などです。
この演習はコースの一部です
Intermediate Python for Finance
実践的なインタラクティブ演習
このサンプルコードを完成させて、この演習に挑戦してみましょう。
# Lehman Brothers before Morgan Stanley?
lehman_first = lehman ____ morgan_stanley
print(f"It is {lehman_first} that Lehman Brothers declared bankruptcy first.")