Update README.md

This commit is contained in:
Lasse Edfast 2024-06-26 12:37:58 +02:00 committed by GitHub
parent e19a1b0c2c
commit f649f63221
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ To use this module, simply import it and call the desired function with the text
from print_color import print_green, print_rainbow from print_color import print_green, print_rainbow
print_green("This is in green!") print_green("This is in green!")
print_rainbow("This", "will", "be", "in", "multiple", "colors!") print_rainbow("This", "will", "be", "in", "multiple", "colors!")```
Alternatively, you can import all functions at once using from print_color import *. However, be cautious when using this approach as it imports all public names defined in the module, which can lead to conflicts with other modules or variables in your namespace.* Alternatively, you can import all functions at once using from print_color import *. However, be cautious when using this approach as it imports all public names defined in the module, which can lead to conflicts with other modules or variables in your namespace.*