+ 2
Colored Print?
Hello, can I do the Output from the print function colored? Like a Hello World in Red. For the Computer or for SoloLearn. Sorry for my English :(
4 Réponses
0
Hey as you can see from this fast code I made: https://code.sololearn.com/c1yc16qcaD1b
color don't show up in SoloLearn, but if you compile from a PC (Works on windows, not sure with other OS) the color red shows up.
I dont't actually know python very well, but I think you can print with colors in python3 using this code:
import colors
print(colors.red('Hello World'))
source for the python code: https://stackoverflow.com/questions/39473297/how-do-i-print-colored-output-with-python-3
+ 1
Hey, no language is better than an other, I personally prefere C#, but it is just personal preference, you should start both course and only continue the one you prefere.
It also depends a lot on what you want to do, game, web, server, desktop... etc
+ 1
Okay but what are the Advanced from each language?
0
Thank You. One Question: I See you can C# and started C++. What is better? What should I learn First? C# or C++ After Python?