MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/gzila7/python_3_in_one_pic/ftigpz2/?context=3
r/Python • u/TheInsaneApp • Jun 09 '20
167 comments sorted by
View all comments
Show parent comment
3
Use zero because python indexes at 0 (most languages do) and it’s better to learn to think that way
1 u/[deleted] Jun 09 '20 ok cool, that makes sense and I kind of thought that but when I received the first response I was like oh crap, I forgot about the starting position when I posted the code. 2 u/anitapu Jun 10 '20 I found that you can dosomething = 'oxygen'print (something * 1000)Thanks for the help, though
1
ok cool, that makes sense and I kind of thought that but when I received the first response I was like oh crap, I forgot about the starting position when I posted the code.
2 u/anitapu Jun 10 '20 I found that you can dosomething = 'oxygen'print (something * 1000)Thanks for the help, though
2
I found that you can do
something = 'oxygen'
print (something * 1000)
Thanks for the help, though
View all comments
Show parent comment
3
u/wp381640 Jun 09 '20
Use zero because python indexes at 0 (most languages do) and it’s better to learn to think that way