This will be a long post, where ultimately, if followed, you will learn how to set-up and self-host Nextcloud for file syncing, calendars, password managers and more, with Collabora for Google Docs-like real-time document editing, behind an Nginx reverse proxy entirely in Docker containers using docker-compose, with metrics from Prometheus visualized with Grafana, and free monitoring on a host OS of **Ubuntu 16.04, through a CDN such as CloudFlare.** Was that enough words for one sentence?
There’s multiple ways to print text to the the console in Python. Here are the three or four ways of doing so. Assuming these variables…
#!/usr/bin/env python3.6 y2k = 2000 legal_drinking_age_us = 21 message = "Python is cool"
…We can print the same string with the same variables with mutltiple styles, starting with the more frowned-upon ways of doing it (#1), and ending with the most superior way (#3)… according to the Googs at least :P . I had always used the first style up until a few weeks ago when I dug into the different approaches.