I just want to say a big thank you for doing this. I've been wanting to learn proper programming for a while now and I have always been told to start with Python. I've trying a few free ebooks but haven't been able to stick with them. Your videos make it very easy and clear. Thank you.
+Александър Гьорев School provides you with the most basic knowledge needed to pursue any other study, or to become proficient in any other activity with greater easiness. Not dropping from school will make him know what he does not enjoy studying/doing, and hence will make him extremely more likely to find what it is he wants to do in life. He should obviously not drop out of school willingly.
@@Aman-wq4xz Fortunately I did get the degree in Computer Engineering. However I had kearned from fellow classmates that for many it was the same feeling, and that many resorting to perhaps illegal means to simply pass the tests and did not get to learn much.
holy shit, i used this guy for my gcse's and a levels for maths, science and some other stuff and now hes doing programming, wowowowowowowowowowow. you are one of the best peeps on utube
This is a great primer to python lists. One thing you could do in your python interpreter though, and since you mention memory references, would be using the "is" python operator to actually prove that one list is actually a reference to some other list: >>> a = range(10) >>> b = a >>> c = a[:] >>> b is a True >>> c is a False >>>
I have Question Khan, please answer: How the Hell do you know everything from a wide range of science ? I mean, you know math, programming, chemy, physics etc. :D Tanx for your videos ^^
You could make your site paid and still many people would have bought it (maybe including me) but you make everything free.BTW THIS IS THE BEST PYTHON TUTORIAL ON THE WEB
Using the "is" operator to explore which variables reference which lists is mentioned below. A related tool is the id(object) function, which produces a unique identifier. help(id) for more.
im about to start 9th grade and i find this rather interesting, when do we start learning this in school? or do we not start to learn this till college?
Towards the end, b=a, and c=a, but b is not equal to c. So if you change c, you change a, if you change b, you should also change a. But b never changes c. Amazing.
@eliot0x103 Yeah, I know that, what I was wondering was whether there is anything in the library which produces a textbox with a list of entry boxes in which individual components of the vector can be entered.
actually there are some languages that thinks 1-based indexes are better. for example lua. and visualbasic (with option base 1) and is possible in delphi also.
Thanks for this! Thorough and succinct. I'm not sure but using the term 'second element' might be a bit confusing for some, as in "[0-2] takes everything up to but not including the second element". In layman terms it does take the second element (13), but not the n=2 or third element. Perhaps that language could be separated so one can talk about coding and common terms don't have to change their meaning (first second third etc.). Like in code speak the 0th item, n=1 item, n=2 etc. and then first, second third element mean exactly that. I dunno, just to avoid 'the second element' having two possible interpretations.
So for example, I'm playing Skyrim and I talk to an NPC. When I pick one the options to talk to that NPC, I'm choosing, for example, a[0], a[1], a[2], and so on? And then the response I get from the NPC is the response to a[0] and what not?
I've been exposing myself learning environments of all the popular languages and so far Ruby and Python seem to make the most sense... its nice and tight compact and powerful little things that run on commmon sense. Now this tells me i should pursue a more eduction in Ruby or Python....but everyone I know is telling me I should have a basic grasp of html, js, in order for things to click. What should i do? JS ad html seem so dry boring compared to gems in RoR and the language of twitter, Python!
@gmandog6 i think they are just light explanations of what it is and the man does most of the videos in the academy so he has to know alot there are 100's of videos
quick question, what is the program that you're using to write here? Is it a tablet plugin of some sort? Could it be used on WebEx demos? Thanks in advance to anyone who knows.
It shouldn't be, the syntax is tougher in C++ than Python, but the concepts are the same. However, if you were going from learning Python to C++ that might be challenging, but you should be fine.
I'm not experienced in Python but I do have a strong knowledge of Java and in Java something like this would be called an array. So I believe you are correct.
+Mike A. In some languages, Python's notion of a list would be called and array, and a list might be something else. For example, it might allow insertion and deletion of objects at certain positions, while in an array, you can't remove the third element without making the fourth element and following ones shift so they no longer retain their numeric index. Lists are ordered collections of non-unique objects in languages I've used. In Python, they have numeric indexes that remain in a fixed order.
He's done nothing but noble things, but his speaking style just keeps suggesting that he hasn't really prepared. His examples just seem to be randomly made up on the fly every time and whether it is or isn't, it's very offputting the way he repeats himself 5 times on the same example and then keeps changing it... :(
I just want to say a big thank you for doing this. I've been wanting to learn proper programming for a while now and I have always been told to start with Python. I've trying a few free ebooks but haven't been able to stick with them. Your videos make it very easy and clear. Thank you.
I swear to god you might save me from dropping out of my school altogether.
+Александър Гьорев School provides you with the most basic knowledge needed to pursue any other study, or to become proficient in any other activity with greater easiness. Not dropping from school will make him know what he does not enjoy studying/doing, and hence will make him extremely more likely to find what it is he wants to do in life. He should obviously not drop out of school willingly.
so, how was school?
well, how was it?
@@Aman-wq4xz
Fortunately I did get the degree in Computer Engineering. However I had kearned from fellow classmates that for many it was the same feeling, and that many resorting to perhaps illegal means to simply pass the tests and did not get to learn much.
@@dopier12 wow u actually replied, hope it went well dude
And have a great day night and life, I'll mention u in 6 yrs to see how things are goin
i'm impressed how good you can write with your mouse. really.
Yahh he is doing very well at that time
@@Hereissarthak bro it's been 12 years since my comment.
@@PiratWeber is it weird re-watching this video, lol
holy shit, i used this guy for my gcse's and a levels for maths, science and some other stuff and now hes doing programming, wowowowowowowowowowow. you are one of the best peeps on utube
Hopefully Python will come back to KhanAcademy as official curriculum.
Did they cancel it?
They now have codecademy for that
codecademy generally sucks it doesnt explain or teach anything well at all. ive tried many of their courses
Have it come back?🤔🤔🤔
This is a great primer to python lists.
One thing you could do in your python interpreter though, and since you mention memory references, would be using the "is" python operator to actually prove that one list is actually a reference to some other list:
>>> a = range(10)
>>> b = a
>>> c = a[:]
>>> b is a
True
>>> c is a
False
>>>
Good to know, learning this in class. Thank you.
what a nice and helpful video, thanks!!
Thank you soo much. Iv'e been trying for weeks to teach myself python
thank u much for posting this video!!!!! i'm saved.. my world is no longer black n white. thanks fr adding a little color.
I have Question Khan, please answer:
How the Hell do you know everything from a wide range of science ? I mean, you know math, programming, chemy, physics etc.
:D
Tanx for your videos ^^
You could make your site paid and still many people would have bought it (maybe including me) but you make everything free.BTW THIS IS THE BEST PYTHON TUTORIAL ON THE WEB
How many programmers does it take to screw in a lightbulb?
0.
hi, your computer programming videos are very well explained. can you please do more of them?
no problem!
Using the "is" operator to explore which variables reference which lists is mentioned below. A related tool is the id(object) function, which produces a unique identifier. help(id) for more.
Great explanation. Thank you!
im about to start 9th grade and i find this rather interesting, when do we start learning this in school? or do we not start to learn this till college?
Towards the end, b=a, and c=a, but b is not equal to c. So if you change c, you change a, if you change b, you should also change a. But b never changes c. Amazing.
Python list is the equivalent of Array in JavaScript...
👍🏾❤️
sirr make more such lovely❤ videos of programming
im 11 years behind but by 2024 I expect myself to become an expert programmer and have a job working at an internship
wow thanksssssssssss!!!!!!!! Understand nice!!!!!!!
9, 11
never forget
Thank you for this video!!
@eliot0x103 Yeah, I know that, what I was wondering was whether there is anything in the library which produces a textbox with a list of entry boxes in which individual components of the vector can be entered.
which function to use to see how many elements there are in a list???
actually there are some languages that thinks 1-based indexes are better.
for example lua. and visualbasic (with option base 1) and is possible in delphi also.
n Python, what keywords do you use to define a new object type? I'm new to objects in python.
Thanks for this! Thorough and succinct. I'm not sure but using the term 'second element' might be a bit confusing for some, as in "[0-2] takes everything up to but not including the second element". In layman terms it does take the second element (13), but not the n=2 or third element. Perhaps that language could be separated so one can talk about coding and common terms don't have to change their meaning (first second third etc.). Like in code speak the 0th item, n=1 item, n=2 etc. and then first, second third element mean exactly that. I dunno, just to avoid 'the second element' having two possible interpretations.
So for example, I'm playing Skyrim and I talk to an NPC. When I pick one the options to talk to that NPC, I'm choosing, for example, a[0], a[1], a[2], and so on? And then the response I get from the NPC is the response to a[0] and what not?
Excellent. Thanks.
you are great sir
I've been exposing myself learning environments of all the popular languages and so far Ruby and Python seem to make the most sense... its nice and tight compact and powerful little things that run on commmon sense.
Now this tells me i should pursue a more eduction in Ruby or Python....but everyone I know is telling me I should have a basic grasp of html, js, in order for things to click. What should i do? JS ad html seem so dry boring compared to gems in RoR and the language of twitter, Python!
If you learn CSS with HTML, It will be a lot of fun.
Python =("Sal is the best teacher")
print(Python)
because then you can do the following:
word_variable = 'something'
print word_variable[0:2] + word_variable[2: ]
the result will be the word something
I wonder why the [0:2] command will only include the 0th (first) element and up to 1st element, ie why less one value.
Range 0 to 2 beans from o until 2
Is it possible to use the input function to get the user to enter numbers directly into it?
@gmandog6 i think they are just light explanations of what it is and the man does most of the videos in the academy so he has to know alot
there are 100's of videos
millions of thanks.
What resources khan academy uses to make a vedio?
good content bro
Are these tutorials computer (specifically Python) PROGAMMING or computer SCIENCE (with Python as the example language)?
@Ferrus91 Obviously: a.append( input( "input something" ) )
I get know about khan academy in 2019 in my school indian government school chandigarh
quick question, what is the program that you're using to write here? Is it a tablet plugin of some sort? Could it be used on WebEx demos? Thanks in advance to anyone who knows.
smoothdraw 3
If I'm studying C++ at high school (I have no choice really) and study python at Computer Science school in college, would it be troublesome?
It shouldn't be, the syntax is tougher in C++ than Python, but the concepts are the same. However, if you were going from learning Python to C++ that might be challenging, but you should be fine.
Jack Cash Thank you so much! This is such a relief...
To learn more about Machine Learning and Artificial Intelligence, visit discoverartificialintelligence.com/
is there a ide for linux that has a split window, one for interactive and one for text mode just like in here?
pycharm community edition i think does that... either on its own or with a plugin.
Thanks Sir
@PiratWeber he is not using mouse but interactive board!
Wow,amazing
which is the program u are using like a board
+Mauricio Carazas Sal is using Smoothdraw.
smoothdraw 3
Listing in python is like and array in Action Script
can somebody show creation of multidimensional list dynamically and store values in it. I mean in Python
Where can I get the software?
@DehXable Great idea
It makes me feel better that you struggle with keeping indices straight, counting from 0 is just weird.
Isn't a list also known as an "Array"
***** on other languages such as javascript!
I'm not experienced in Python but I do have a strong knowledge of Java and in Java something like this would be called an array. So I believe you are correct.
+Mike A. In some languages, Python's notion of a list would be called and array, and a list might be something else. For example, it might allow insertion and deletion of objects at certain positions, while in an array, you can't remove the third element without making the fourth element and following ones shift so they no longer retain their numeric index. Lists are ordered collections of non-unique objects in languages I've used. In Python, they have numeric indexes that remain in a fixed order.
Thank you
Python rules !!
he uses paint :/ and has a detachable calculator that can be downloaded
Thanks
it really confuses me that you sometimes read a number twice but only write it down once
This seems complicated. Anyone struggling with Computer Science or Information Technology?
I cri ery tim.
It's okay, people cry all the time when they are on their period.
Oi oi.
wtf
Could you add turkhis subtitle?
thanks
He's done nothing but noble things, but his speaking style just keeps suggesting that he hasn't really prepared. His examples just seem to be randomly made up on the fly every time and whether it is or isn't, it's very offputting the way he repeats himself 5 times on the same example and then keeps changing it... :(
from bangladesh
In 2 years a Swedish youtuber will make a joke about you
You should start doing html ,or visual basic
Hi
salman khan..our pride
Why did I take computer science
because you wanted money
Because
MORE PYTHON??? NOOO
i like to eat chicken curry
This guy should change his name to "Tommy Two Times"
haha
lol
IT WORKS.......................
(click read more)
The LIKE button really works!!!!
Copy
Nice meme