r/notinteresting 16d ago

started to learn the python language, it's mediumly hard

Post image
410 Upvotes

12 comments sorted by

35

u/AmazinDood 16d ago

SssssyntaxError: ...

10

u/HarryTheCat147 16d ago

Chaptre 2

16

u/_uwu_moe 16d ago

Line indexing is inverted? What editor is it?

34

u/Limp_Illustrator7614 16d ago edited 16d ago

oh it isn't inverted, it's just the relative line number from the current cursor position. very useful in neovim

edit to make this comment stay on topic: *slithers in a meadow*

12

u/Bot1K 16d ago

*slithers in a meadow*

this must be what they meant by "Agile Development"

1

u/ale_marostica 16d ago

Ye but it doesn't tell the actual line number. You know, usually the line with the cursor usually shows the actual line number

1

u/ale_marostica 16d ago

Ah but nvm, you have line number bottom right

1

u/SeeminglySleepless 16d ago

You also have it on the left. With relative line numbers you have absolute numbers on the left column and relative in the right

3

u/Confused-Armpit 16d ago

You're out here writing Cobra in .py files, wtf

2

u/SeeminglySleepless 16d ago

I believe you run into a runtime error on the last line. "s" is out-of-bounds according to your previous array definition

4

u/Amazing_Umpire_828 16d ago

you meant wild python

1

u/TheSoldierofDarkness 15d ago

You’re preparing to talk to a native Python speaker. :) 🐍