Added: 3 years ago
From: subfuzion
Views: 4,785
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (22)

Sign In or Sign Up now to post a comment!
  • fail u wrote 10/1=1

  • 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 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

  • 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?

  • 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.

  • Thanks :) Really helpful video by the way. Any chance of seeing more?

  • Bah i don't know. I havn't touched python in quite a while, mostly exploring lua-commanded engines

  • nevermind, I got it now..Don't us the variables...thanks soo much.. i learned a lot, and nice choice of music btw

  • I cannot figure out the homework

    I can get it to simply display your age like it did with your name, but I can't figure out the math along the way

    I tried:

    print(age / 2)

    print(age * 3)

    but that didn't work.

    Do you think you could share another hint?

  • and, not to be a smartass or anything, but does this get you pussy? lol, i think not.

  • Or

    Here's an idea

    why don't you go care about what you care about and we'll do the same

  • Ja Komrade

  • you need to define age.

    like get the user's input of age then do the math against it.

  • 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.

  • You have to use the variables from the beginning...at least that's what i did and it worked perfaect

  • did the homework thanks man!!!!

  • what is python?

  • a programming language mainly for the web

  • It's actually mainly for application development...

    But it can be used to make webpages or as a cgi language. I dont know how.

    I do know google uses python, or did...

  • hey, i really liked the videos... i really hope you will make more! Maybe i'm just dumb, but i tried doing some of that stuff in notepad and saving it but when i open it, it is just text. I must have to save it as a different file type?

  • i love them. but when i put raw_input

    it says raw_input not defined? can you help? please.

  • My bad. Just like I mentioned with print(), raw_input() has been changed to "input()".

    You should still be able to use it in the same way, just with that name.

  • Great tutorials

  • Thank you!!!!!

  • ya, i did the homework,

    it is great,

    please put more and more videos,

    thanks

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more