This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"ID001","name":"Ricarth","lastName":"Lima","balance":113.0},{"id":"ID002","name":"Ana","lastName":"Silva","balance":250.0},{"id":"ID003","name":"Bruno","lastName":"Santos","balance":75.0},{"id":"ID004","name":"Carla","lastName":"Oliveira","balance":500.0},{"id":"ID005","name":"Daniel","lastName":"Ferreira","balance":180.0},{"id":"ID006","name":"Elisa","lastName":"Costa","balance":320.0},{"id":"ID007","name":"Fábio","lastName":"Pereira","balance":60.0},{"id":"ID008","name":"Gabriela","lastName":"Rodrigues","balance":200.0},{"id":"ID009","name":"Henrique","lastName":"Martins","balance":450.0},{"id":"ID010","name":"Isabela","lastName":"Almeida","balance":210.0},{"id":"NEW001","name":"Flutter","lastname":"Dart","balance":5000}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from abc import ABC, abstractmethod | |
import os | |
class Cliente: | |
def __init__(self, nome: str, cpf: str, endereco: str): | |
self.nome = nome | |
self.cpf = cpf | |
self.endereco = endereco | |
# Pessoa Fisica herda os dados de cliente |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
def deposito(saldo, valor): | |
saldo += valor | |
return saldo | |
def saque(saldo, valor): | |
saldo -= valor | |
return saldo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
menu = """ | |
(D) Deposito | |
(S) Saque | |
(E) Extrato | |
(X) Sair | |
=> """ | |
saldo = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Atualizando servidor" | |
apt update | |
apt upgrade -y | |
echo "instalando softwares nescessarios ... " | |
apt install apache2 -y | |
apt install unzip | |
echo "Baixando aplicacao ... " | |
cd /tmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Criando os diretórios..." | |
mkdir /publico | |
mkdir /adm | |
mkdir /ven | |
mkdir /sec | |
echo "Criando os grupos..." |