Python Tutorial - Your First Program

Publicado el: 24 abril 2018
en el 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
---


En esta página del sitio puede ver el video en línea Python Tutorial - Your First Program de Duración hora minuto segunda en buena calidad , que subió el usuario Gary Explains 24 abril 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 69,972 veces y le gustó 1.7 mil a los espectadores. Disfruta viendo!