Skip to content
#

coding-challenge

Here are 738 public repositories matching this topic...

lukey-luke
lukey-luke commented Dec 2, 2018

basically something like this, would make the output easier to scan

halite_amount = '1234'
class bcolors:
    RED='\033[0;31m'
    NC='\033[0m'

print(bcolors.RED + halite_amount + bcolors.NC)

when you noramlly only see the info text colored

[info] Player 0, 'BOT_NAME', was rank 2 with 4000 halite
[info] Player 1, 'BOT_NAME', was rank 1 with 4011 halite

Improve this page

Add a description, image, and links to the coding-challenge topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the coding-challenge topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.