Skip to content

Commit 3471a14

Browse files
committed
Arquivos pessoas py e json
1 parent b31c9db commit 3471a14

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

pessoas.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"pessoas": [{
3+
"id": 1,
4+
"nome": "Renan",
5+
"idade": 19,
6+
"genero": "M",
7+
"contato": "(88) 9 9999-9999"
8+
}, {
9+
"id": 2,
10+
"nome": "Maria",
11+
"idade": 22,
12+
"genero": "F",
13+
"contato": "(88) 9 8888-8888"
14+
}, {
15+
"id": 3,
16+
"nome": "João",
17+
"idade": 32,
18+
"genero": "M",
19+
"contato": "(88) 9 1111-1111"
20+
}, {
21+
"id": 4,
22+
"nome": "Paula",
23+
"idade": 20,
24+
"genero": "F",
25+
"contato": "(88) 9 8888-8888"
26+
}]
27+
}

pessoas.py

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#Dicionário
2+
pessoas = [
3+
{
4+
"id": 1,
5+
"nome": "Renan",
6+
"idade": 19,
7+
"genero": "M",
8+
"contato": "(88) 9 9999-9999"
9+
},
10+
{
11+
"id": 2,
12+
"nome": "Maria",
13+
"idade": 22,
14+
"genero": "F",
15+
"contato": "(88) 9 8888-8888"
16+
},
17+
{
18+
"id": 3,
19+
"nome": "João",
20+
"idade": 32,
21+
"genero": "M",
22+
"contato": "(88) 9 1111-1111"
23+
},
24+
{
25+
"id": 4,
26+
"nome": "Paula",
27+
"idade": 20,
28+
"genero": "F",
29+
"contato": "(88) 9 8888-8888"
30+
}
31+
]

0 commit comments

Comments
 (0)