Python Tutorial - Your First Program

preview_player
Показать описание
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.

####
import random

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
---
Рекомендации по теме
Комментарии
Автор

Super, just what I needed, right to the point. Voila, never programmed in Python and now I entered a program and ran it, successfully.
Star going up on fridge.

crossthreadaeroindustries
Автор

I'm an old BASIC programmer. And really want to earn Python to use with my Raspberry PI. So This is perfect to give me an idea of how things work.
Thank you so much.

PCman
Автор

Waited for this video for so long and finally it's here, love your videos

kunal
Автор

Make a video on basic "terms" of programming. Like variable function and so on. It would be much helpful for beginners to get start with the programming. Thanks!

devshekhawat
Автор

thanks a lot gary
i purchased already the "learn to make app in android", degit course, and it's really to thank you for the effort you make in teaching other thanks

frisaqpage
Автор

Thank you, i just got into programming and i don't really know what i just did. But im happy i have my first working code, still a lot to learn

Polarxey
Автор

hello Gary, am a beginner in python . you just blow up my head now. am impressed Thanks

chrisokwymaduka
Автор

Thank you so much for making your tutorial simple!!! I wrote my first program : )

StevenLarkin
Автор

Nice.. great one.. thanks for the great videos ..😁😁👍👍👍👍

patrickcadette
Автор

Although I have been spending the past few hours coding a RNN on python, i still see this introductory video to the full 😂😂😂

RahulAgarwal
Автор

brilliantly explained with exactly what is essential to start with.. Keep up the great work..

meiunardhal
Автор

Python is the ultimate high level language especially for learning. I learned on VB and C which was much less straight forward. Some people don't realize how powerful python actually is.

seanc.
Автор

Hey please make a video about the key differences in c, c++, Java and Python.

ankit_aanand
Автор

Can’t wait to try this today after work! (Noob here)

Razor
Автор

I would be interested in learning why python of other languages. And maybe seeing some basic programs too. Just not every video. Keep up the great work!

mattigch
Автор

Please make more videos like this...ur way of teaching is great 👍

rrsk_farming
Автор

yes, please more on python and programming

AkshayKumar-hjyp
Автор

Thank you! I appreciate this tutorial.

edwardv
Автор

Thanks for a nice Python video. I think learning Python will be easier via a structured course rather than ad-hoc youtube videos.

I think a good idea for a mini-series is an overview of each individual language, what is it good for and how to get started (e.g. best courses online) - Python would be a great start

aakapokm
Автор

Fantastic work Gary! Thank you so much for the tutorial. Making my #100DaysOfPython Day3 so easy!

init_bobjames