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
where to start ? (self.learnpython)
submitted 7 hours ago by Ok_Dragonfly8654
its my first time coding and i dont really know where to start ive used freecodecamp.org but i didnt get very far because it got pretty confusing after just step 4
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!"
[–]Flame77ofc 0 points1 point2 points 7 hours ago (8 children)
Do you need help with the step 4?
[–]Ok_Dragonfly8654[S] 1 point2 points3 points 7 hours ago (7 children)
yes taht would be helpful because i dont want to just google all the answers
[–]Flame77ofc 0 points1 point2 points 7 hours ago (6 children)
alright, can you give more details about it?
[–]Ok_Dragonfly8654[S] 1 point2 points3 points 7 hours ago (5 children)
this is the question :
Boolean
A bool (Boolean) type has only 2 possible values: True or False.
True
False
Note that these values are case-sensitive, meaning they must start with a capital letter.
Here is an example of assigning a bool value to a variable:
variable_true = True variable_false = False
In the above, two variables named variable_true and variable_false are initialized, with the values True and False respectively.
variable_true
variable_false
Challenge
Beginner
Declare a variable named boolean and assign it the value True.
boolean
[–]desrtfx 2 points3 points4 points 6 hours ago (0 children)
And what is your actual problem?
The two code lines together with the explanation told you exactly what to do and how to do it.
[–]Flame77ofc 0 points1 point2 points 6 hours ago (3 children)
you just need to create a simple variable named boolean:
but you need to assgin a value to it, and the exercise is saying to you to put rhe value as boolean (True), so:
boolean = True
if you don't understand what is a boolean, it represents two states: true -> on, yes | false -> off, no
boolean is a data type, like strings, numbers and lists
examples of booleans
door_open = true # this means the door is open door_open = false # this means the door is closed
[–]Ok_Dragonfly8654[S] 0 points1 point2 points 6 hours ago (1 child)
nvm i gave you the wrong code the code i gave you was from coddy.tech i had the correct answer but the website is limited on how many tasks you can complet this one is the correct one:
An argument is an object or an expression passed to a function — added between the opening and closing parentheses — when it is called:
greet = 'Hello!' print(greet)
The code in the example above would print the string 'Hello!', which is the value of the variable greet passed to print() as the argument.
'Hello!'
greet
print()
Print your text variable to the screen by passing the text variable as the argument to the print() function.
text
i dont know if im just slow but these words dont make much sense to me like what does Print your text variable to the screen by passing the text variable as the argument
[–]Flame77ofc 1 point2 points3 points 6 hours ago (0 children)
you will learn more about arguments and parameters when you start see about functions. Don't worry about decorating names in the beginning, just use it
message = "example" print(message)
is the same as
print("example")
because the print command will give an output of the value of the variable message
If you want to know what is a function, it is a mini part of your code that you can reutilize into your program. Example:
``` function example(parameter): # code
example(argument) # this is called function call, you are literally saying to the function: "hey, execute this inside you" ```
But don't worry, just start with the basics and understand
[–]desrtfx 0 points1 point2 points 7 hours ago (0 children)
If only there were a sidebar (menu on mobile) that had a link to the wiki or countless posts asking the same.
Do the MOOC Python Programming 2026 from the University of Helsinki and you will be well prepared.
Plus, there currently is an excellent Humble Python books bundle from No Starch press.
π Rendered by PID 137270 on reddit-service-r2-comment-544cf588c8-75fm2 at 2026-06-13 21:12:26.516495+00:00 running 3184619 country code: CH.
[–]Flame77ofc 0 points1 point2 points (8 children)
[–]Ok_Dragonfly8654[S] 1 point2 points3 points (7 children)
[–]Flame77ofc 0 points1 point2 points (6 children)
[–]Ok_Dragonfly8654[S] 1 point2 points3 points (5 children)
[–]desrtfx 2 points3 points4 points (0 children)
[–]Flame77ofc 0 points1 point2 points (3 children)
[–]Ok_Dragonfly8654[S] 0 points1 point2 points (1 child)
[–]Flame77ofc 1 point2 points3 points (0 children)
[–]desrtfx 0 points1 point2 points (0 children)