Skip to content
Discussion options

You must be logged in to vote

With python the indentation of the file is important, it's part of the core syntax.
Things like while or if all need their following code to be indented to show what's being run, as opposed to languages like C that use { and } to show these things

Replies: 6 comments 3 replies

Comment options

andrewleech
Jul 23, 2024
Collaborator Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@be80be
Comment options

@robert-hh
Comment options

@bixb922
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

andrewleech
Jul 24, 2024
Collaborator Sponsor

You must be logged in to vote
0 replies
Answer selected by be80be
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants