Skip to content

Commit 1192104

Browse files
authored
Update README.md
1 parent f2bf093 commit 1192104

File tree

1 file changed

+74
-3
lines changed

1 file changed

+74
-3
lines changed

README.md

Lines changed: 74 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,79 @@ New Colors Adding soon...
55

66
## How To Use ;
77

8-
<details><summary>CLICK ME</summary>
9-
<p>
10-
import <Your_Path>.colo
8+
<details ><summary>Show How To Install Colored Text </summary>
9+
<p>
10+
11+
> #### Bash~$
12+
```bash
13+
git clone https://github.com/L45T500TH4CCK/PythonColoredText.git
14+
```
15+
</p>
16+
</details>
17+
18+
19+
<details><summary>Show How To Import Colored Text Another Project</summary>
20+
<p>
21+
22+
- #### Import colors
23+
24+
```python
25+
from Your_colorText_Path.colorText import colors
26+
```
27+
</p>
28+
</details>
29+
30+
31+
<details><summary>Show How To Use Colored Text Another Project</summary>
32+
<p>
33+
34+
- #### I'm using print command
35+
- You can use another commands
36+
37+
```python
38+
39+
print(colors.Lime + " This Text color -> Lime " + colors.CD)
40+
41+
42+
```
43+
</p>
44+
</details>
45+
46+
<details><summary>Show Example Code </summary>
47+
<p>
48+
49+
> #### Example
50+
51+
```python
52+
53+
from random import randrange
54+
from colorText import colors
55+
56+
A = str(randrange(193913,2123123123))
57+
58+
print(colors.Yellow + " Account ID: " + colors.CD + colors.Lime + A + colors.CD)
59+
60+
61+
```
62+
> #### Random Number
63+
64+
65+
<details><summary>Show What's This RandRange </summary>
66+
<p>
67+
68+
```python
69+
70+
randrange(min_val , max_val)
71+
72+
```
73+
```python
74+
print(str(randrange(1,3)))
75+
76+
Output >>> 1 or 2 or 3
77+
```
78+
> randrange(1,3) -->
79+
> [1,3)
80+
</p>
81+
</details>
1182
</p>
1283
</details>

0 commit comments

Comments
 (0)