368
you are viewing a single comment's thread
view the rest of the comments
[-] muntedcrocodile@lemm.ee 3 points 1 year ago

4 spaces is the preferred pythons is happy with either but the standard is 4 spaces. Vscodium ensures that.

[-] trolololol@lemmy.world 1 points 1 year ago

Your editor is happy with either, but is it happy with both?

[-] muntedcrocodile@lemm.ee 1 points 1 year ago

My editor will take either and convert it to 4 spaces. Python can use spaces or tabs but not both in the same file.

[-] trolololol@lemmy.world 1 points 1 year ago

Buahahahah I know what to do next commit

[-] muntedcrocodile@lemm.ee 1 points 1 year ago

Its the python equivalent of a Greek question mark

this post was submitted on 04 Apr 2024
368 points (95.8% liked)

Programmer Humor

37457 readers
8 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS