-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathp14_module.py
executable file
·78 lines (72 loc) · 1.8 KB
/
p14_module.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
logo_art = """
__ ___ __
/ / / (_)___ _/ /_ ___ _____
/ /_/ / / __ `/ __ \/ _ \/ ___/
/ __ / / /_/ / / / / __/ /
/_/ /_/_/\__, /_/ /_/\___/_/
_ ___/____/
| | / / ___/
| |/ (__ )
|___/____/
/ / ____ _ _____ _____
/ / / __ \ | /| / / _ \/ ___/
/ /___/ /_/ / |/ |/ / __/ /
/_____/\____/|__/|__/\___/_/
"""
vs_logo = """
_ _______
| | / / ___/
| |/ (__ )
|___/____/
"""
import os
def clear_screen():
# Clear the screen based on the operating system
if os.name == 'nt': # For Windows
os.system('cls')
else: # For Unix-based systems (Linux, macOS)
os.system('clear')
data = [
{
'name': 'Katy Perry',
'follower_count': 109,
'description': 'Musician',
'country': 'United States'
},
{
'name': 'Cristiano Ronaldo',
'follower_count': 250,
'description': 'Footballer',
'country': 'Portugal'
},
{
'name': 'Ariana Grande',
'follower_count': 183,
'description': 'Musician',
'country': 'United States'
},
{
'name': 'Dwayne Johnson',
'follower_count': 20,
'description': 'Actor',
'country': 'United States'
},
{
'name': 'Selena Gomez',
'follower_count': 2500,
'description': 'Musician',
'country': 'United States'
},
{
'name': 'Kim Kardashian',
'follower_count': 50,
'description': 'Reality TV personality',
'country': 'United States'
},
{
'name': 'Lionel Messi',
'follower_count': 240,
'description': 'Footballer',
'country': 'Argentina'
}
]