Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts
Amazon Auto Links: No products found.
wet the cardboard then rip some holes in an old bag then jam it in the holes and tape it up with some duck tape.
Hi sir… maybe you missed the fact about `is` or maybe you intentionally didn’t described it to keep tutorial simple.. but the `is` statement can’t be checked for equality it is used to check the identity. For example it will check weather the value that is checked in the condition is in the same memory address or not.
For example:
var1 = “TEST”
var2 = input() # Enter “TEST” in the input
if var1 is var2: # Returns false as new string is created at different memory address for var2
print(“is works”)
if var1 == var2: # Returns true as values are equal
print(“condition works”)
We should use == to check for equality and not `is` because `is` will only return true if the value is in the same memory address.
Incinerate it
“Even though that’s illegal, we’ll do it anyways.”
Burn it
You should recycle that cardboard. Afterall, without a planet of resources, there would be no Python.
After this tutorial, I had to listen to “Lucy” by Hanson, lol.
elif = else if?
bucky= “You are the best bucky. I really love you and will watch your channel forever. I will type it 10000 times so that I will never forget it.”
A little bit of cheating with python…
bucky n * 10000
put it in other people’s trash can…
I made a simple program asking whether you prefer marvel or dc:
preference = input(“Do you prefer Marvel or DC”)
if preference is “Marvel”:
print(“You win!”)
elif preference is “DC”:
print(“Boooo!”)
else:
print(preference + ” is not an option”)
print(“Thank you for contributing”)
Whenever I run this program, it tells me whatever I typed is not an option. I’m running python 3.5.3. Thanks.
if name is “xxx” is not working for some reason, I have to use
if name == “xxx” for some reason…
Best Python Tutorial on youtube.
if a
Just cut your cardboard into one inch squares with a sharp steak knife.
Then you can place the cardboard squares into a plastic trash bag.
gee what next, card-broad cops? thanks. :- Oh, are there videos on the Rock64 sbc (2018)?
you are the best
Wait, somehow the first line always has 2 errors and 1 typo for me. What did I do wrong? I typed in exactly as it is! I’m confused! Someone help!
Put the shredded cardboard into a plastic container, it may cost like $10-30 to buy the plastic container. Get some sharpie and write, “Does not contain cardboard.” Put it into dumpster.
i just figured python is also capital sensitive because when i ran the command and had name = “lucy” it did not print the result corresponding to lucy. unless I typed “Lucy” with the capital L. Great tutorial so far. thank you.
can i just write multipe if rather than writing multiple elif?
what is the purpose of an elif statement?
i m with bucky through C, C++, C# HTML +CSS +Java+ JQuery+Javascript and this is the funniest tutorial of them all
How is this guy not the best python teacher
drag the cardboard into a recycle bin….the computer recylce bin
Burn it
Bucky i am using anaconda spyder for coding since my i am done dealing with plugins in pycharm and anaconda is very easy to use so will it create a problem
u r really gosh good
that storytime in the beginning was awesome xD
I think you will use a if with “if age < 18"
we could make a drinking game for every time you say “umm” XD
Bucky Roberts is the best online teacher ever!
Is elfif the same as then??
reassemble the torn up box with duct tape, fill it with empty cans of tuna and mail it to the department of sanitation.
any help with the trash man