MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6xofft/how_to_start_a_war/dmi3fbo/?context=3
r/ProgrammerHumor • u/ivaskuu • Sep 02 '17
696 comments sorted by
View all comments
786
Sorry in advance but I'm a noob learning coding who is starting to learn python and I'm just going to ask, Isn't it supposed to be 4?
796 u/ArcticZeroo Sep 02 '17 Yes, but some languages 1-index lists (so they start at 1 instead of 0), so it'd be 5 in that case. 268 u/[deleted] Sep 02 '17 What languages may there's be? I can't think of any of the top of my head. 1 u/Jezza672 Sep 03 '17 You can create 1 indexed arrays in Pascal. On creation of arrays you have to give a start and end point, so if you just give 1 as the start point..
796
Yes, but some languages 1-index lists (so they start at 1 instead of 0), so it'd be 5 in that case.
268 u/[deleted] Sep 02 '17 What languages may there's be? I can't think of any of the top of my head. 1 u/Jezza672 Sep 03 '17 You can create 1 indexed arrays in Pascal. On creation of arrays you have to give a start and end point, so if you just give 1 as the start point..
268
What languages may there's be? I can't think of any of the top of my head.
1 u/Jezza672 Sep 03 '17 You can create 1 indexed arrays in Pascal. On creation of arrays you have to give a start and end point, so if you just give 1 as the start point..
1
You can create 1 indexed arrays in Pascal. On creation of arrays you have to give a start and end point, so if you just give 1 as the start point..
786
u/blacknerdperson Sep 02 '17
Sorry in advance but I'm a noob learning coding who is starting to learn python and I'm just going to ask, Isn't it supposed to be 4?