Python Programming for absolute beginners - 1 (2 of 2)
Loading...
4,696
Loading...
Uploader Comments (subfuzion)
see all
Video Responses
This video is a response to Python Programming for absolute beginners - 1 (1 of 2)
see all
All Comments (22)
-
fail u wrote 10/1=1
-
nevermind, I got it now..Don't us the variables...thanks soo much.. i learned a lot, and nice choice of music btw
-
You have to use the variables from the beginning...at least that's what i did and it worked perfaect
-
Ok, this is a very very late reply, and you probably have figured it out by now, but....
You have many errors. First, if you put
x = raw_input("Enter your age: ")
at the top, than your variable would be called x, not age.
Second, instead of the print's you tried, which wouldn't work for reasons we won't go into, you'll want to try this:
print(int(x)/2*3)
Everything is all one 'word' if you could say that.
Loading...
Hi subfuzion, thanks for uploading both videos i am a complee beginer and hopefully i can learn this. i was wondering 2 things: 1) is the tools you ahve covered e.g. variable, if's, print, output etc.. all that is needed to create anthing in python?
2) supposedly one creates a programme like lets say ordering food of the net or something how would you upload the finished programme to be used on the net?
anyway i appreate th help. thanks
isytown 1 year ago
@isytown The tools presented in the videos are not all that is required, they are mearly a place to start off for those new to programming. The majority of programming is a self exploration and research thing, if my opinion counts.
Python programs are shared as the .py extension. Python is a scripting language, and that fact doesn't really natively allow you to make distrobution easy. Course there are ways around that, but they are hack jobs for the most part.
Best method is file sharing site
subfuzion 11 months ago
How can you use variables as numbers and not text? So for example if you write:
x = input("first number:")
y = input("second number:")
z = (x + y)
print("first plus second is: " )
print (z)
It will treat the numbers as text instead of numbers. Is there a command to overrun this?
kamikazov 2 years ago
Well for one, for a text string to be treated as a number it has to be a number value, ie 0-9.
soo if:
x = 100
y = space
z = 9
print(x+y)
print(y+x+z)
print(y+(int(z)+int(x)))
I don't have python to test this wacky example, but just look up datatypes in python on google.
subfuzion 2 years ago
Thanks :) Really helpful video by the way. Any chance of seeing more?
kamikazov 2 years ago
Bah i don't know. I havn't touched python in quite a while, mostly exploring lua-commanded engines
subfuzion 2 years ago