Skip to content

I have another way of doing this easier #1

@rohanboutelle01

Description

@rohanboutelle01

Here is the code:

`# print red
def redText(text):
print("\033[1;31m" + text + "\033[0m")

print green

def greenText(text):
print("\033[1;32m" + text + "\033[0m")

print yellow

def yellowText(text):
print("\033[1;33m" + text + "\033[0m")

print blue

def blueText(text):
print("\033[1;34m" + text + "\033[0m")

print purple

def purpleText(text):
print("\033[1;35m" + text + "\033[0m")

print turquoise

def turquoiseText(text):
print("\033[1;36m" + text + "\033[0m")`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions