No video

Introduction to Programs Data Types and Variables

  Рет қаралды 1,038,582

Khan Academy

Khan Academy

13 жыл бұрын

Writing a basic program. Basics of data types, variables and conditional statements

Пікірлер: 280
@WillVanDenBerghe
@WillVanDenBerghe 9 жыл бұрын
First Program is not Hello World?? this is blasphemy
@sajateacher
@sajateacher 8 жыл бұрын
Thank God... I hate that program...
@jakeambrose4294
@jakeambrose4294 7 жыл бұрын
hahahaha i fell off my chair laughing thanks
@gregorywilliams8580
@gregorywilliams8580 7 жыл бұрын
How is this guy so passionate with so many different study fields... Talent!!
@minaaris
@minaaris 5 жыл бұрын
If you call this passion and talent, you've never been passionate or talented about anything
@shanethemainscott3290
@shanethemainscott3290 4 жыл бұрын
minaaris Everybody expresses passion and talent In their own ways
@iBot.
@iBot. 3 жыл бұрын
Math is very interrelated to Computer Science, they're not that different. Most concepts will transfer between the two seamlessly, so if you're really good at one you'll most likely be good at the other as well
@grapy83
@grapy83 Жыл бұрын
Purest Talent and Love!...
@sanyidupla8830
@sanyidupla8830 Жыл бұрын
Might not be talent, might be talent, we may never know and honestly who cares
@jakeambrose4294
@jakeambrose4294 7 жыл бұрын
compliment- one of the toughest and most annoying challenges to finding learning material is finding stuff where the teacher talks crisp and efficiently and isnt wasteful. in 2 seconds im already glad a found this. thank you and well done
@bread5414
@bread5414 4 жыл бұрын
I like how you wrote compliment in the beginning :)
@littleripper312
@littleripper312 11 жыл бұрын
ok, I just looked that up on wiki and it said "Salman Khan holds four degrees: a BS in mathematics, a BS in electrical engineering and computer science, as well as an MS in electrical engineering and computer science from Massachusetts Institute of Technology, and an MBA from Harvard Business School" I'm having a difficult enough time with one degree and can't wait to get out of school lol.
@sbsanni
@sbsanni 4 жыл бұрын
Lolz
@AdityaSingh-ht6nq
@AdityaSingh-ht6nq 4 жыл бұрын
Which Salman Khan?
@ProudSalafi
@ProudSalafi 3 жыл бұрын
@@AdityaSingh-ht6nq Channel owner not Dabang, definitely not him
@fruits7892
@fruits7892 2 жыл бұрын
@@ProudSalafi this comment made me laugh for some reason. gg
@michaelpisciarino5348
@michaelpisciarino5348 5 жыл бұрын
0:00 Python. Pyscripter. 0:48 Writing a Computer Program. Making a list of instructions 1:25 Simple computer program 2:30 Integrated Development Environments 4:30 Type Int. Type Str. 8:30 Conditionals (If then, or)
@leadnitrate2194
@leadnitrate2194 4 жыл бұрын
Thanks a lot for this. Really helps if I want to revise a particular topic.
@marymc333333
@marymc333333 2 жыл бұрын
Thank you Michael!
@Byggarebobo
@Byggarebobo 8 жыл бұрын
Khan Academy is human innovation at its finest!
@jokerushun
@jokerushun 11 жыл бұрын
passion -> drive -> success. good job salmon, loving what you're doing for the future education system. i just graduated from a master's degree and really wished i had access to these videos in my high school, as they would've helped me much more with my core skills. i'll try talking my cousin in high school to watching these!
@JohannSuarez
@JohannSuarez 6 жыл бұрын
Woah, I've watched over 300 of his math videos and now I just found out he also teaches Python. Is there anything Sal Khan doesn't know? Hahaha
@abdulrehman1100
@abdulrehman1100 10 жыл бұрын
I have computer science this semester and I am STRUGGLING with it. I used Khan academy for math help but I recently discovered the comp. science playlist. Watching him do math has helped me a lot and I have just watched half a video of comp. sci by him and I know without a doubt that he will explain it to me :)
@NeThZOR
@NeThZOR 12 жыл бұрын
A very good introduction to Python programming, and programming in general. Just what I needed. For a long time now I've thought of learning to program, as it will be advantageous for me to know it before I start with a computer science course. Thanks very much.
@PhantomKThief
@PhantomKThief 8 жыл бұрын
Mr Khan is best teacher of the world, he can teach anything to anyone, sir I want to learn Java please make some tutorials on your website just like the html ones :)
@DarkYuan
@DarkYuan 7 жыл бұрын
I second that
@DarkYuan
@DarkYuan 7 жыл бұрын
Optical Quantum virus He was funny, knowledgeable, and didn't make you bored to learn Java
@ath3m_
@ath3m_ 7 жыл бұрын
"I second that" means he agrees with you.
@jacobmacintyre4546
@jacobmacintyre4546 7 жыл бұрын
Agree. I hated math until I started learning with Sal Khan. Am struggling with this same material in Udacity so came to Sal Khan for help... this guy just rocks.
@dr1303
@dr1303 12 жыл бұрын
Finally you're covering programming aswell? You must be my personal hero!
@jcnationskoinonia6124
@jcnationskoinonia6124 6 жыл бұрын
Thanks Salman Khan for creating Khan Academy and teaching us very well.
@AlanMorales502
@AlanMorales502 13 жыл бұрын
Thanks SO MUCH for doing Computer Science videos!!! I can't describe how excited I am to know that my favorite teacher is making videos of my favorite subject, for everyone :D
@scientia_potentia_est
@scientia_potentia_est 13 жыл бұрын
Wow!!!, this is so exciting I'm really looking forward to watch this whole playlist and learn tons of new stuffs about computer programming, Thanks a lot Sal!!! you'r the best
@usmanahmad7615
@usmanahmad7615 Жыл бұрын
I looked this up as a joke,this man is simply universal.
@Gtajora
@Gtajora 13 жыл бұрын
THANK YOU THANK YOU THANK YOU for creating a computer science / Programming playlist!!! Hopefully you'll branch out to more programming languages!
@QWERTYP5391
@QWERTYP5391 13 жыл бұрын
Wow khan academy is really inspriational. I never been able to experience such a learning experience like this and will like to further my knowledge with the khan academy. Wow this is amazing.
@yyyy2999
@yyyy2999 11 жыл бұрын
This guy is really doing the world something good.
@wlmeng11
@wlmeng11 12 жыл бұрын
It's amazing how many videos you made available for free! Python is much easier than C++, so I think that if I do too much Python, I'll get lazy in C++.
@alusinemkamara9812
@alusinemkamara9812 2 жыл бұрын
It so amazing , I like it, it is very educating.
@supbrotv
@supbrotv 12 жыл бұрын
great video!i went through 7 or 8 exercises in codeyear but didnt know what if or else did but this video explained everything in 11 minutes
@memerbruh2364
@memerbruh2364 4 жыл бұрын
it works ahhhhhhhh great sharing...
@rockstarpromos
@rockstarpromos 12 жыл бұрын
Great intro, simple and clean. Thanks.
@sammiem110
@sammiem110 7 жыл бұрын
Awesome tutorial! =D This is really helpful since I'm into computer programming! ^^
@yomamasofat413
@yomamasofat413 8 жыл бұрын
I love you khan! I've watched your video on maths and econs and now coding! how can you know so much?
@jilld4031
@jilld4031 6 жыл бұрын
Max Tan3.
@GohansRiceBall
@GohansRiceBall 13 жыл бұрын
There is a Computer Science section now? Amazing, always good to see more examples. I'm looking forward to it all.
@Electrk
@Electrk 12 жыл бұрын
How does your brain not explode from having so much knowledge about everything?
@lactate
@lactate 8 жыл бұрын
please put this back on the site
@miqbri
@miqbri 11 жыл бұрын
In languages like java, you would use {} to specify such code block. Python uses white space instead. This means that if the print you're referring to was embedded under the else, then it would consider it as part of the else. This might a little confusing at first, but after couple hours/days you realise that you would format the text like this anyways, unless you write code as a pig and so it makes the code actually even more readable..
@extremefire5254
@extremefire5254 10 жыл бұрын
thank u so much man u helped more than ever now python looks so easy thanks subscribed :D
@torstein99
@torstein99 12 жыл бұрын
i didnt know you could programing!!!! man your head is a gigantik library!!
@ny1fanta
@ny1fanta 13 жыл бұрын
you know computer science now? omg what you dont know.... you're freaking amazing!
@leadnitrate2194
@leadnitrate2194 4 жыл бұрын
I'm eight years late, but just to tell you, he has a masters degree in electrical engineering and computer science from Massachusetts Institute of Technology.
@abusuphianabdullahi4898
@abusuphianabdullahi4898 7 жыл бұрын
that's really great, love it
@kebbajanha-ck2qy
@kebbajanha-ck2qy 4 ай бұрын
I find it difficult to understand python as a computer science student beginner, as I have downloaded many tutorials but with Khan academy things become easy, thank you so much
@ninjapirate123
@ninjapirate123 2 ай бұрын
yeah same, even my computer science teacher doesn't teach so well either
@batfan1939
@batfan1939 11 жыл бұрын
He does have a LOT of Python tutorials, as well. Intro to Python, wxPython (Python using windows, buttons, boxes, etc rather than just plain command line text), and PyGame (incomplete and self-explanatory)
@cerenyavuz4686
@cerenyavuz4686 3 жыл бұрын
please add this course to your website, love your work
@FakeAssHandsomeMcGee_
@FakeAssHandsomeMcGee_ 11 жыл бұрын
This guy's IQ must be off the radar. Some of the stuff that he uploads comes from him buying textbooks, reading them, then turning what he learned into a video. He does all that in addition to running Khan Academy and doing presentations here and there. Oh, another thing...he has a family as well... :D
@tushar12345
@tushar12345 7 жыл бұрын
holy frickin python snake! I didn't know there was an entire "python tutorial" playlist in KhanAcademy!! btw I'm a first year college student
@KnownDominance0
@KnownDominance0 11 жыл бұрын
I would like it if you could do some java programming videos, I would love that and I'm sure a lot of other people would too, thanks for the great videos.
@azadkaya
@azadkaya 10 жыл бұрын
I love how you end your videos - ''... We are done with the program''
@AlderDragon
@AlderDragon 13 жыл бұрын
@jordan10la I've only just started learning python on these videos. The biggest difference I've seen so far is that you have to define your variable datatypes in java. So in python, Sal might write "a = 5" but in java you would need to specify that a is an integer: "int a = 5;" (also adding semicolons to end every statement).. if you understand basic python going into a java class, you should have a huge advantage to anyone going in knowing nothing of either.
@rgnygvbhtf
@rgnygvbhtf 13 жыл бұрын
Computer Science? Beautiful.
@kurisu9056
@kurisu9056 6 жыл бұрын
i love this guy! so much, best teacher though
@G4boooo0
@G4boooo0 13 жыл бұрын
Yes! I was wonderng when khan would get into programming !
@Belalrazaa
@Belalrazaa Жыл бұрын
i love u sir for your lovely explanation❤‍🔥
@MohdSameer-rx9gj
@MohdSameer-rx9gj 3 жыл бұрын
Sir, please complete the python lecture series....
@BiranchiNarayanNayak
@BiranchiNarayanNayak 9 жыл бұрын
I am looking for more sorting algorithms like Bubble Sort, Selection Sort, Merge Sort, Quick Sort ... etc
@elijahcaudle7365
@elijahcaudle7365 4 жыл бұрын
I bet this guy has a huge library
@dylandoyle493
@dylandoyle493 11 жыл бұрын
True! A friend of mine has taken computer science for 3 years and the school decided to switch from Java to Visual C#. He freaked for a solid week until he actually used to programs and realized they're very similar. xD Live and learn I guess.
@rumiqdj
@rumiqdj 11 жыл бұрын
May you add subtitles to this playlist? Because it's easier to understand it for foreign students :) thank you!
@jordan10la
@jordan10la 13 жыл бұрын
@AlderDragon That's very good to hear. Thank you.
@Pavel0793
@Pavel0793 6 жыл бұрын
why are not these vids on web site? I've just encounter this playlist accidentally, could not find anything about Python on web site.
@petagonkyi
@petagonkyi 6 жыл бұрын
Hi which screen recorder (FREE) you recommend for PC - Win-10?
@FalconsFanForLyfe
@FalconsFanForLyfe 7 жыл бұрын
i also want a C++ programming tutorial
@Euphoniumstar
@Euphoniumstar 12 жыл бұрын
Yes I know, but whenever I do that in my version of python, it executes the command I've already typed instead of adding to it without executing it...
@jrwkc
@jrwkc 13 жыл бұрын
@Dracanic ipython is awesome for the command line. If you want an actual visual interface, use PyDev for eclipse.
@Crazyfor2PM
@Crazyfor2PM 13 жыл бұрын
I LOVE YOU. THANK YOU SO MUCH...I Really needed this
@gur0004
@gur0004 13 жыл бұрын
Can't wait for Discrete Math PlayList!!!!!!!!
@AlexAulds
@AlexAulds 12 жыл бұрын
the video was very helpful, thanks. Could anyone give me an idea of something similar to this that would be used in a working environment?
@scampz1
@scampz1 13 жыл бұрын
are you going to make any tutorials with more advanced c++ programming language and compilers? I really want to learn starting with the correct processes from the beginning.
@jainianand95
@jainianand95 11 жыл бұрын
I hv a question sir How does the scripter know that the 'else' condition has ended? Meaning that the last 'print' command should hv been read only if 'else' condition was fulfilled how n why is it read by the 'if' command also without any specifications?
@jordan10la
@jordan10la 13 жыл бұрын
@AlderDragon Alright, thank you for all your help.
@telldotdk
@telldotdk 11 жыл бұрын
Smart reply :o) So true.
@Ger1949
@Ger1949 13 жыл бұрын
PyScripter is a nice IDE, but it only runs on Windows and it only works with Python. The Eclipse IDE runs on Windows and Mac and Lunix such as Ubuntu. Eclipse also has plugins for Python as well as Java and C/C++. Clear, step by step directions for installing Eclipse and configuring it with the PyDev Python plugin for Eclipse if you google "Configure Eclipse for Python - Rose-Hulman Institute of Technology".
@FredrichNietzsche25
@FredrichNietzsche25 13 жыл бұрын
YES!!!!!! THANKYOU!!!!
@rubinkelsun
@rubinkelsun 5 жыл бұрын
Hi , i wonder when do i put brackets?
@jubayerrahman8447
@jubayerrahman8447 11 ай бұрын
Sometimes, I just want this guy to give me his brain
@chinwachukwu2622
@chinwachukwu2622 4 жыл бұрын
This video is really good, I learnt how to play around with variables and print statement. I'm surprised to hear the same voice in biology and in this python programming. Is it really the same person that is teaching all these courses?
@user-nb7uj2kv9r
@user-nb7uj2kv9r Жыл бұрын
Lol it is
@user-nb7uj2kv9r
@user-nb7uj2kv9r Жыл бұрын
That's Sal khan for you
@AlderDragon
@AlderDragon 13 жыл бұрын
@jordan10la I downloaded 2.2.2 first (not sure why), but it wouldn't work with PyScripter. So I went back and downloaded 2.6.5 and it worked. 3.1.4 would work fine, but it's slightly different than what Sal is using (the syntax of the language will be different). You should be fine downloading 2.6 or 2.7.
@MeganMcken
@MeganMcken 12 жыл бұрын
i wish there was good c++ tutorials in youtube MEHHHH.
@schlam9320
@schlam9320 11 жыл бұрын
Thanks for that asset man, will really help me. Do you think you could send me the link to the textbook also?
@petrocks5343
@petrocks5343 11 жыл бұрын
How would I go about installing pyscripter on my chrome book? I downloaded pythonanywhere but it doesn't have the toolbars and everything else...
@PrototypePrjs
@PrototypePrjs 12 жыл бұрын
nice video
@kn-yq1rv
@kn-yq1rv 12 жыл бұрын
I honestly prefer IDLE, but only because it's the standard at the professional level, and it's crossplatform. When it comes to novice CS, it doesn't matter which IDE you use.
@MeganMcken
@MeganMcken 12 жыл бұрын
@uda911 thank you! these videos are great.
@empathylessons2267
@empathylessons2267 7 жыл бұрын
Print (I Am Conscious) *Oh shit I've created life.*
@jordan10la
@jordan10la 13 жыл бұрын
I'm interested in this video series but in September I will be taking a computer science course in university which will teach me Java. Will going through this playlist and learning some Python just confuse me when I go to learn Java?
@carolinaSolid19
@carolinaSolid19 12 жыл бұрын
However... my comp sci class was learning Java. Didn't have time to try and learn a different programming language just to learn the language I was being tested on.
@wlmeng11
@wlmeng11 12 жыл бұрын
@thecomputerkid11925 Like amputeen said, you need quotes to make sure it gets recognized as a data string, not as numerical values or variables.
@michaeleduardoconde9379
@michaeleduardoconde9379 7 жыл бұрын
if I'm gonna be successful with my dream job, I will give full (not really but most) of the credits to khan
@MegaYogini
@MegaYogini 7 жыл бұрын
I use windows 10. I have tried to run the PyScripter on my computer but windows doesn't let me run it. What can I do?
@animemaste
@animemaste 12 жыл бұрын
Great....conditionals...now i gotta go learn geometry >.>
@tahooralamfarooqi3970
@tahooralamfarooqi3970 3 жыл бұрын
Watching this video in Dec of 2020
@TheRijintube
@TheRijintube 11 жыл бұрын
I was thinking the same!
@jpantheman
@jpantheman 13 жыл бұрын
Awesome video! What can't you do Sal?
@ScottWiins
@ScottWiins 13 жыл бұрын
Can you provide a link to a safe website to download this version of pyscripter so we can follow along?
@raheeljafarani
@raheeljafarani 11 жыл бұрын
Can you do some programming Lessons in java I'm currently in high school learning java And having a lot of problems with it it would be really helpful if you posted some videos teaching java programming :) THANK YOU!
@Steidemeister56
@Steidemeister56 11 жыл бұрын
well he did study at MIT and harvard so i guess he has a lot of potential
@jordan10la
@jordan10la 13 жыл бұрын
@AlderDragon That's good. The only experience I have is some ActionScript 2.0 which I've long since forgotten. With regards to Python, which version should I download? Sal 2.6 or 2.7 but I noticed that 3.1.4 has been released. Being a higher number I would think it's superior. Am I wrong in thinking that?
@ThirstyCartoon
@ThirstyCartoon 11 жыл бұрын
Some men just want to watch the world learn.
@alllove01
@alllove01 11 жыл бұрын
It's my first time trying to learn this and I use a MacBook pro. For some reason when I put a colon and try to repeat what Khan did, It would say that it's invalid syntax. Does anyone know if the colon sign is different for the Terminal - python version?
@jbukka120
@jbukka120 12 жыл бұрын
I really want to follow along with this video, but I can't find pyscripter anywhere! Can someone post a link so I can download it? Thanks!
@suhailakhtar1707
@suhailakhtar1707 6 жыл бұрын
sir, how can someone be excel in every field....
@MathLector
@MathLector 13 жыл бұрын
He did this!
@saud4696
@saud4696 8 жыл бұрын
what is it that you dont know?
@coltson961
@coltson961 12 жыл бұрын
@canucksofvancouver you have to download it, look up PyScripter on google
@SBJupiter
@SBJupiter 11 жыл бұрын
KhanAcademy is his explosion!
@paulceltics
@paulceltics 13 жыл бұрын
can't thank you enough
@aphetica
@aphetica 12 жыл бұрын
I'm having some trouble getting Python installed on Win 7. I downloaded v 2.7.2 - Windows x86-64 MSI Installer. I double-click it and it opens in Winrar. Where is the actual installation file located? Also, when I try to unzip the contents to a new empty folder, it says that certain files already exist- I read something about this being due to Windows not being able to recognize the difference between FILE.etc and file.etc ...help? Should I be using one of the "tar ball" installations instead?
Python Lists
11:41
Khan Academy
Рет қаралды 416 М.
Python Vs C++ Vs Java!
4:41
ByteByteGo
Рет қаралды 483 М.
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 33 МЛН
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 16 МЛН
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
For Loops in Python
10:15
Khan Academy
Рет қаралды 793 М.
Fundamental Concepts of Object Oriented Programming
9:16
Computer Science
Рет қаралды 877 М.
This is Why Programming Is Hard For you
10:48
The Coding Sloth
Рет қаралды 748 М.
Python OOP Tutorial 1: Classes and Instances
15:24
Corey Schafer
Рет қаралды 4,4 МЛН
how Google writes gorgeous C++
7:40
Low Level Learning
Рет қаралды 840 М.
Defining a Factorial Function
10:06
Khan Academy
Рет қаралды 90 М.
What Is Dynamic Programming and How To Use It
14:28
CS Dojo
Рет қаралды 1,5 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 33 МЛН