Graphical aspect may vary depending on your choices in following the instructions below, but the end result should look something like this:
##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
This file contains 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
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; } |
This file contains 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
# 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) |
This file contains 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 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: |