Python Asyncio doubt

https://online.codingblocks.com/app/player/209779/content/201850/8931/lecture

at 3:08 in this video

task 1 and task 2 have been declared before the print(time.strftime("%X")) statement, so shouldnt both the statements be executed first and then time should be printed for the both of them?