Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
17

how do we change the color of the text that input

mathimo
mathimo

abc

4 years ago
You are viewing a single comment. View All
1
Geocube101
Geocube101

@mathimo

from termcolor import colored user_input = input(colored(string, color)) #Where string is the prompt for the input command and color #is a valid termcolor color

Valid termcolor colors can be found here

3 years ago