Added: 2 years ago
From: thenewboston
Views: 45,251
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (54)

Sign In or Sign Up now to post a comment!
  • Can you guys help me with something please? I'm trying to make simple guessing game, the player has to guess what number I'm think of, if they're right it prints out "Well done" but if they're wrong I want it to loop back to the ___player = raw_input("What number am I thinking of?")____ so the player can enter another attempt.

  • @Ashitaka255 You could try a while loop such as While guess != answer: (programming here) 

  • "one is two" is true in python3.2

  • "one is two" false because "one" and "two" are not the same variable or objet.

  • everytime i think im nearly finished i see i have 10 more in the side bar ....

  • the 2 dislikes are people who charge $100 dollars and make worse tutorials

  • I already knew like 17/23 of these tuts i watched so far, yet I watched them :P

  • How does python understands the ending line of 'if' statement or 'else' statement since no brackets or no semicolons or anything at all is there tell python to stop reading the statement?? maybe the tab is this mark?

  • in 23 tutorial I have learnd more than in the whole year that my profesor has been tecing it to me,bucky you rock,proffesor sucks...

  • Actually, if you look at it this way it'd be much easier:

    Whenever he wrote one = ... , two = ... (These two are pointing to two different places in the memory, they stored 3 spots for 3 numbers, [22,23,24], it could be in 1 and in two [24,27,5555] even, but when he did Three=Four=[bla,bla,bla] he basically made Three & Four point to the same list, both of them are pointers of this list. (Pointers are something which redirects you to where the thing is found in the memory so 3&4 point the same)

  • that makes no sense.....

    one = [21,22,23]

    two = [21,22,23]

    and one is two is false...

    if you have

    three = four = [3,4,5]

    and three is four is False...

    if one and two are the same then

    one = two = [21,22,23]

    its the same expression, i don't get it.... :/

  • @Brucy6666 In the first case, you have created two objects that COINCIDENTALLY have the same list. This makes them equivalent in terms of their lists, but not the objects themselves. The object "one" will only be the object "two" if you explicitly tell Python that one = two. If they (as variables) are defined in separate statements, they are not considered equivalent objects. In the second case, three and four are defined in the same statement, so three is four would be true.

  • @MCSubdued but i still don't get it for example,let one=1 two=1 one is two true ***but one=[1] two=[1] one is two false ********** so, what's going one here?
  • @dgecon1 its because the is statement evaluates the variable names as well, which in your case are different

  • @Brucy6666 three CANNOT be four, so cannot one be two(even if they have same numbers like one[23,24,25]and two[23,24,25] the variable(or number, you choose)is different

  • I'm so glad I found you, Bucky.

  • I cannot believe I tryed to learn C++ and didnt know this existed.

  • It might also be worth mentioning that case matters: Y!=y for "in" statements and others.

  • PEE IN PIZZA only if it's a very bad pizza!

  • Is there PEE in pizza? XD

  • two peaple missed the like button :/

  • Asian women on the street  #lushfmlk.info#

  • you are my man are the best from all youtube...kp go 

  • very very very nice teacher :) thanx.. :)

  • people! i came with an announcement:

    bucky is the best teacher/guide we will ever have so don't waste your time and watch another tutorial beacause it's great

  • I don't know why people go through this trouble. They only deserve to be appreciated and praised for the trouble they went through even if their work is not perfect which I believe this not the case. This is awesome work, and all your tutorials.

  • I wish i had these tuts when i was taking programming classes

  • i think you already told us in one of the earlier tuts what 'in' does

  • Bucky = "C'mon keyboard"

    if Bucky == "C\'mon keyboard":  print "YOu should change your keyboard !!!"

  • this is a great way to learn programming. great job dude!

  • BAM...you are the best

  • Wow! great tutorial....

  • easy hoss

  • I accidently pressed the thumbs down TWICE coz im stupid but your an amazing teacher thank you...

  • Its much better than any book I bought for python

  • @boogiboy3d yeah dude totally rocks. I'm tracking through two dummy books and these tut's have made it all come together. I guess to it's all about practice practice but you can't beat these and they are FUN!

  • After hearing != is not equal to I HAD to let out an "oh my f***ing god". 30 minutes of looking on Google and this guy solves my question in a few.

  • >>>ThisTutorial == Amazing

    True

  • i did html but phython s pretty easy to learn after this i'm going to do c++

  • great tutorials. Amazing teacher :)

  • mostly same as C++

  • ya pretty much. :P. I learned a bit of c++ and i know Visual Basic 2008 so python is really easy to learn. But i bet it would be a bit hard if people didn't have any former knowledge of programming

  • lol ya i did a tiny bit of c++ and python is easy as hell to get into once you've tried out c++

  • I love this tutorial series! Saved much time. :)

  • dont spam..

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