1 month ago
12 lines321 B
import random | |
from datetime import date | |
| |
import requests # pip install -r requirements.txt | |
| |
print("Today is", date.today().strftime("%A")) | |
print("Dice:", random.randint(1, 6)) | |
| |
r = requests.get("https://api.github.com/zen", timeout=10) | |
print("Zen of the day:", r.text) | |
| |
# Try changing the values above and run it again. |