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
Algoritmo "Calculadora" | |
// Disciplina : Lógica de Programação | |
// Professor : Maransatto | |
// Descrição : Faz cálculo | |
Var | |
// Seção de Declarações das variáveis | |
numero: real | |
operador: caracter | |
proximoNumero: real |
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
class DNA(object): | |
def __init__(self): | |
pass | |
def getSingleTemplate(self, std): | |
if std == 'A': | |
return 'T' | |
elif std == 'T': | |
return 'A' | |
elif std == 'G': |
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
{"lastUpload":"2020-07-24T20:22:11.091Z","extensionVersion":"v3.4.3"} |
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
A = 80 # nota de 1 das provas | |
B = 0 # nota da prova que quero descobrir | |
M = 75 # média | |
# Dadas as notas, sei a média | |
# M = (A+B)/2 | |
# print(M) | |
# Dadas a média e uma nota, sei a outra nota |
NewerOlder