vendredi 7 février 2020

Date and time and string in python

How do I show or output string in Python depending on what day it is, say I want a quote for today shown today and another quote tomorrow. Something like if date == today’s date print(“quote”) and so on? It’s for my app, like you access the app, click the button and it shows you today’s quote, and tomorrow the same but a different quote?

Aucun commentaire:

Enregistrer un commentaire