#213·numpy-100

Alternative solution for Q33

Author: AliMahdavirad0Created Sep 12, 2024Updated Oct 21, 2024

Hello,

As an alternative answer to Q33:

python
yesterday = np.datetime64('today') - 1
today     = np.datetime64('today')
tomorrow  = np.datetime64('today') + 1
print(yesterday, today, tomorrow)