Learn Python Programming - 5 - Variables

preview_player
Показать описание
We will discover what are variables in this video. How is data stored into variables and then how you can retrieve it later for easier access. We will look at all this through a visualization using the Turtle library from Python. ...
...
★☆★ FREE Lesson 1: The Most Important Thing For a Successful Programmer★☆★

Enroll for coding exercises, projects, tutorials, and courses...
Clever Programmer
Snapchat ► Rafeh1
Рекомендации по теме
Комментарии
Автор

I would just like to thank you for making these videos. So many tutorials out there assume you know all the terminology and just sling things around expecting you to know what the terms are, what they mean, and how they're used. So the tutorial just shows you how to make something ---That's cool and all, but in order for me to completely understand how to build my own code I need to know why a term means what it does, and how it's used.

So many programming tutorials feel like someone teaching me how to cook a dish and what ingredients to use, but instead of saying to me "use 1 cup of sugar to add sweetness" they say "use 236.59 ml of azúcar granulado to agregar dulce" - That's fine and all, but they're speaking a different language than I speak. I can copy what they say all I want, and spit it out, but that won't get me any closer to actually forming my own sentences and understanding what I just said, even though the program I just spoke to understands.

You do a great job using analogies to put in our minds what each word in programming means in relation to our own day-to-day language. That way, we can actually think about what we want to say (to whatever program will be using our script) and understand why we say it that way so that we can use it properly.

Thanks for that! :D

RouteReels
Автор

this is quite nice-
import turtle
t=turtle.Turtle()
z=0
x=100
y=20
while z<18:
t.left(y)
t.circle(x)
z+=1

skaterjoe
Автор

You are explaining in a beautiful way possible, like the way you explain, superb man

simranarora
Автор

Hey Qazi
I want to know about websites how do I start building and in which tool should I use for it..Thank You for motivation

deardiary
Автор

Best example about the variables ever thank you soo much

adamthomsonadam
Автор

Why does not your page have a login/sign up section?
Every time I try to enter the profile, its creating problems for logging in as it continously sends me verification messages only

prashilbison
Автор

a = 'apple'
b = 'banana'
m = 'mango'
print(a)
print(m)
print(b, a)
c = (45/5+2-8*57)
d = (65*37/25-100+10)
print(a)
print(b)
print((m))
print(c)
print(d)

abhijeetkumarbarman
Автор

You declared this at the beginning my_turtle= turtle.Turtle()-- what is this called ?

I didn't notice this first and started writing like this-- my_turtle= turtle.forward(100)
and it worked unknowingly.

So, what is the importance of first thing you declared ?

dheerajnair
Автор

Hi cleaver, i have a question.Why when y put my_turtle.rigth(90) it tells me this:Traceback (most recent call last):
File "D:/Exercice Python.py", line 7, in <module>
my_turtle.rigth(90)
AttributeError: 'Turtle' object has no attribute 'rigth'

moisesleon
Автор

Why do you need the “my.turtle = turtle.Turtle()” ? What does this do?

allisonnnmarie
Автор

Using Python 3.

>>> import turtle
>>>
>>> my_turtle = turtle.Turtle()
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)
>>> my_turtle.left(90)
>>> my_turtle.forward(100)

ronwillis
Автор

When I am trying to do this, I am getting an error showing turltle module has no attribute Turtle. I didn't understand the error. How to resolve it

jananiseelam
Автор

import turtle

square = turtle.Turtle()
square.pencolor("red")


for i in range(4):
square.forward(100)
square.left(90)


turtle.done()

viral_gigs
Автор

heyy ...i gave turtle.tilt but it doesnt work.does python accept commands which are in it

manasagorle
Автор

Could you maybe make it into a playlist? So it would be auto play next.

xXDoubleBounceXx
Автор

Y ur website didn't open properly in android mobile

ramyan
Автор

something i have done check it Sir Qazii

mutabarshahie
Автор

Hi.I have a question:how can you have the option to introduce the value of a variable manually after running the programe?(for example, in c++ if you want to introduce the value for a variable("x")we write the code:"cin>>x;", which allows you to introduce any value you want).How can I do that in Phyton?

XYZ-keqi
Автор

I figured it out right at 0:46 right after I saw the code.

nszpwzg
Автор

so then is my_turtle = turtle.Turtle() a variable??

kyranbrockett