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
| ### Tutorial oficial: | |
| https://docs.microsoft.com/en-us/windows/wsl/install-win10 | |
| ### Passo 1 (PowerShell Admin): | |
| dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
| ### Passo 2 (PowerShell Admin): | |
| dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
| ### Passo 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
| print("Bem vindo ao jogo de Adivinhação!") | |
| num_secreto = 42 | |
| chute = int(input("Digite o seu número: ")) | |
| print("Você digitou ", chute) | |
| if num_secreto == chute: | |
| print("ACERTOU!!!") |