I have a quick question.
I just want to print parts of an integer. For example, my integer is today's date: 20190327 ...and I would like to print the "03" part.
Is this even possible with integers?
I would like to do something similar to this:
todays_date = 20190327
print(todays_date[0:5])
But this doesn't work. Is there a simple solution? Thanks!
str(todays_date)[0:5]?