Python Programming Tutorial - Tutorial 3 - Input Functions [HD] [BEGINNER]

preview_player
Показать описание
Hey guys! Don't forget to like for more! Oh, and subscribe! Also, if you have any questions feel free to ask in form of PM or comment!

Рекомендации по теме
Комментарии
Автор

Ive watched 2 of ur tuts 3 with this one i love them and i subbed keep it up man.

leo
Автор

thank you lots I was behind in school at python but now I'm best in the class thanks tons!

MattydDotaGamerTeamMT
Автор

at 4:45 how did you jump to a new line? when I press enter it goes below my ""

TheProLeaguer
Автор

Thanks a lot, I had trouble putting in multiple variables. Thanks again m8.

arturoperez
Автор

Thanks a lot this really helped learn basic Python!

ShadowTripleOOO
Автор

Python is a scripting language, it is interpreted. In fact, Python is a lot used because we don't have to compile one's program to run it.

For instance, in 3D rendering we use Python with another language (Like C++) to handle every 3D models variables like coordinates. In a game we could change the initial position of a character in the Python script and see the result in realtime whereas normally we would close the program, recompile it and run it again !

Python allow also to create servers.

baki
Автор

Awesome dude mabey i can make my own text adventure after these tutorials xD

Furrnox
Автор

Python is good for using with the raspberry pi with the gpio pins and controlling hardware and all that, thats why im learning it :)

dizzydude
Автор

i am having fun learning PYTHON with the help of your tutorials but it would be great if you post a video for the "input" function even though "its BAD" :P

varunpanditpautra
Автор

I have everything just as you, but I'm getting a syntax error highlighting the first 'print'  in red.

username-ruul
Автор

Joking. But good video man. I'm learning Python GUI at school and this is REALLY helping me. Thx

ninja
Автор

I fix the problem !! here: print ("My Favourite food is "+food+" and my favourite drink is "+drink+) << you see? without "at the end :D works !

supelWaW
Автор

Hmm, not exactly. Using the print function will work that way, however, it should also work in the following ways.
print "Hello"
print 'hello'

However, you are indeed wrong as far as the input goes. raw_input (if I do remember correctly) is used for text based inputs. Where as input is used for number inputs. For example
age = input("How old are you?")
They'd submit a number, so you'd use input.
For example
name = raw_input("What is your name?")
This will look for a text based input!

MinecraftArt
Автор

you can also use a coma instead of a plus example print 'my favourite food is", food

SuperAdict
Автор

in the newest version, you will have to use "input".. They have fixed it, so the code would look like this

food = input("My Favourite Food Is: ")
print (food)
drink = input ("My Favourite Drink Is: ")
print ("My Favourite food is "+food+" and my favourite drink is "+drink+"") or something

LostMill
Автор

aaah ok thanks for the help...it is a good language to start with? a friend told me that its easy to learn is this true?and if i learn it what can i create with it except games

panmar
Автор

great tutorials, hard to find tutorials that don't assume any coding background knowledge 

keegancolwell
Автор

Hi like Solar kills stated seem like raw_input dose change in color (the magenta "print" or input" turns into in 3.3" Is there a work around?

RAS_Squints
Автор

Hello man!Nice videos!Python doesn't recognize me the order:raw_input but only the order input...Do you know why?

Rotnisi
Автор

Instead of using a plus sign (print "Your password is "+ password) you can use a comma (print "Your password is ", password) and it works just the same I just wanted to show you guys another more formal way.

jackschreiber
visit shbcf.ru