0
Changing color when printing a string
does anyone know the code to add to change the color of printed strings while running a program
8 Answers
+ 1
This was the code I tried and it gave the color to output
https://code.sololearn.com/cHxza0a7XFq1/?ref=app
+ 1
I saw your code and will be trying it out in the morning thank you I'll post on how it turns out
0
I should add that I'm using python and basically I want to run something like this
print ("hello world")
and have it print out in red or green or blue
0
couldn't get any of the examples to work but thank you
0
It will not work in Code Playground of Sololearn
Try it in python 3.6.2 shell
0
that's what I tried it on could you possibly show me an example code to change
print("this is red") to print in red? also do I need to download something it was hard to tell for sure from the article
0
I did get this to run in the shell is there a way to do it in Wing IDE