Can you change the output font using print statement in Python?
Yes... we can change the output font colour using python
Code1:
TGREEN = '\033[34m'
a=input()
print (TGREEN,a)
Output:
TCOLOR = '\033[35m'
a=input()
print (TCOLOR,a)
You Can Change Font Style in Python IDLE
Step1:Open your IDLE
Step2:Click Options
0 Comments
Post a Comment