Python Tutorial - Your First Program

Publicado em: 24 Abril 2018
no canal de: Gary Explains
69,972
1.7k

If you want to get into computer programming, one easy way is to use Python. Here is a quick tutorial which will show you how to get started with Python programming on Windows.

Twitter:   / garyexplains  
Instagram:   / garyexplains  

####
import random

n = random.randint(1,10)
print("I am thinking of a number between 1 and 10")

running = True
while running:
guess_str = input("Take a guess ")
guess = int(guess_str)
if guess == n:
print("Well done, that is right!")
running = False
elif guess < n:
print("Try a bigger number")
else:
print("Try a smaller number")

#####

---
Python Tutorial for Beginners
Introduction to Python Programming
Learn Python
Python for Windows
---


Nesta página do site você pode assistir ao vídeo on-line Python Tutorial - Your First Program duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Gary Explains 24 Abril 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 69,972 vezes e gostou 1.7 mil espectadores. Boa visualização!