Update README.md

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

View File

@ -19,7 +19,8 @@ To use this module, simply import it and call the desired function with the text
from print_color import print_green, print_rainbow
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.*