##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:alexpchin/.git
| import string, random | |
| # Apresenta o programa | |
| print('~' * 115 + '\nOlá, seja bem-vindo, esse programa é um Gerador de Senhas. ' | |
| GeneratorExit'Posso ajudá-lo a criar uma senha mais segura para você.\n') | |
| # Pergunta o tamanho da senha para o usuário | |
| while 1: | |
| tamanho_senha = int() | |
| try: |
| # Apresentação da loja | |
| print('~' * 70 | |
| + '\nSeja bem-vindo ao aplicador de descontos da loja\n\n' | |
| + '| Quantidade | Descrição |\n' + | |
| '-' * 42, | |
| '\n| Até 9 | 0% por unidade |', | |
| '\n| Entre 10 e 99 | 5% por unidade |', | |
| '\n| Entre 100 e 999 | 10% por unidade |', | |
| '\n| De 1000 para mais| 15% por unidade |' | |
| + '\n'+ '~' * 43) |
| using System; | |
| using System.Globalization; | |
| namespace ExercicioContaBancaria { | |
| internal class ContaBancaria { | |
| #region Atributos | |
| public double Saldo { get; private set; } | |
| public int NumeroConta { get; private set; } | |
| public string Nome { get; set; } |
##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:alexpchin/.git