https://grizzly-amaranthus-f6a.notion.site/PYSTACK-WEEK-4-0-AULA-01-5a288e9287584eceb44482dc844f2244
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
{ | |
"window.zoomLevel": 0, | |
"python.languageServer": "Pylance", // ms-python.vscode-pylance | |
"python.testing.unittestEnabled": false, // ms-python.python | |
"python.testing.pytestEnabled": true, | |
"python.testing.pytestArgs": [], // -x to bail | |
"python.linting.flake8Enabled": true, | |
"python.linting.mypyEnabled": true, | |
"python.linting.pylintArgs": [ | |
"--load-plugins=pylint_django", |
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 | |
# Executar comandos a seguir para atualizar os pacotes | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Só o Python | |
sudo apt install python3.10-full python3.10-dev -y | |
# Instalar pacotes a seguir |
Como inverter um texto em Python
def inverte_texto(texto):
return texto[::-1]