Alternative solution for Q33
Author: AliMahdavirad0Created Sep 12, 2024Updated Oct 21, 2024
Hello,
As an alternative answer to Q33:
yesterday = np.datetime64('today') - 1
today = np.datetime64('today')
tomorrow = np.datetime64('today') + 1
print(yesterday, today, tomorrow)Source: rougier/numpy-100