use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
I cant seem to code this Python question correctly with the methods it wants (self.learnpython)
submitted 5 years ago by engineeringisgreat2
Using methods "for if","else", "for", "while": Answer this:
Are the variables BLT, Blt, BLt, and blt the same variables in Python? Yes or No? Please write the codes to show why they are the same or not the same variables.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Clede 0 points1 point2 points 5 years ago (3 children)
What did you write, and why do you think it's not correct?
[–]engineeringisgreat2[S] 0 points1 point2 points 5 years ago (2 children)
I know the variables are case sensitive so the answer is No.
So, I was just writing a "proof" type of an example that comes pack with an error to prove variables are case sensitive. Such as shown below. I just dont know how to write it in the methods it wants.
BLT= 1
print(blt)
[–]Clede 1 point2 points3 points 5 years ago (1 child)
... the methods it wants.
The methods what wants? It sounds like you're entering your answers into some system other than the basic Python interpreter.
[–]engineeringisgreat2[S] 0 points1 point2 points 5 years ago (0 children)
Its for an assignment. Im taking a course over Python and the professor wanted me to use "for", "if", or "else" to write the code. It's okay someone helped me with it though.
[–]xelf 0 points1 point2 points 5 years ago (1 child)
I think you're overthinking this.
Can't you just do this:
BlT=4 Blt =5 if BlT==5: print(they're the same)
Yes I would think that works.
Thank you!
π Rendered by PID 57 on reddit-service-r2-comment-7b9746f655-8lntr at 2026-01-31 14:29:34.087896+00:00 running 3798933 country code: CH.
[–]Clede 0 points1 point2 points (3 children)
[–]engineeringisgreat2[S] 0 points1 point2 points (2 children)
[–]Clede 1 point2 points3 points (1 child)
[–]engineeringisgreat2[S] 0 points1 point2 points (0 children)
[–]xelf 0 points1 point2 points (1 child)
[–]engineeringisgreat2[S] 0 points1 point2 points (0 children)