Skip to content

Instantly share code, notes, and snippets.

View arthuregood's full-sized avatar

Arthur Eduardo Good arthuregood

View GitHub Profile
import telegram, logging, random
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
bot = telegram.Bot(token="TOKEN")
# Enable logging
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO)
logger = logging.getLogger(__name__)
import logging, random, telegram, time, telebot, os
from telegram import ReplyKeyboardMarkup, ReplyKeyboardRemove
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters, CallbackQueryHandler, ConversationHandler
bot = telegram.Bot(token='TOKEN')
#lists
pokemon_list = open("pokemon.txt", encoding="utf8")
pokemons = []
import turtle
print("\n1 - Lento\n2 ou 3 - Recomendado\n10 - Impossível")
speed = int(input("\nInsira a velocidade desejada: "))
wn = turtle.Screen()
wn.title("Pong")
wn.bgcolor("black")
wn.setup(width=800, height=600)
wn.tracer(0)
import string, random, time, getpass, pyperclip
# As duas listas, cada uma é um dos tipos de senha.
A = (string.ascii_letters + string.digits)
B = (string.ascii_letters + string.punctuation + string.digits)
# Execução.
senha = ''
print(f"Olá, {getpass.getuser()}.")
print("SENHA TIPO A: Letras e números.\nSENHA TIPO B: Letras, números e caracteres especiais.\n")
#Feito por Arthur Eduardo Good
#IPOO 2020/01
class ContaCorrente:
def __init__(self):
self.__conta = "22b40ac37"
self.__nome = None
self.__saldo = 0.0
self.__valor = 0.0
@arthuregood
arthuregood / tabela.tex
Last active December 8, 2023 22:41
tabela
\begin{table}[ht]
\centering
\caption{Médias dos resultados das rodadas de simulação.}
\label{tab:tabela_simulacao}
\begin{tabular}{ccccccccc}
\hline
\multirow{2}{*}{Cenário} & \multirow{2}{*}{Algoritmo} & \multirow{2}{*}{\shortstack{Posição\\Inicial}} & \multirow{2}{*}{\shortstack{Posição\\Final}} & \multirow{2}{*}{\shortstack{Tempo\\Inicial}} & \multirow{2}{*}{\shortstack{Posição\\Final}} & \multirow{2}{*}{\shortstack{Duração\\Média}} & \multirow{2}{*}{Mediana} \\
& & & & & & & & \\
\hline
1 & A* & \shortstack{-7,-7} & 5,6 & 2,191 & 51,290 & 49,099 & 44,400 \\