can anybody explain me please why the final output is coming in a reverse order??
shis1011
Level 8
i have a question!!
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Misiu
19 October 2020, 00:14
"2. Add 10 strings to it from the keyboard, but only add them to the beginning of the list, not the end."
If a list has one element "a" and we add "b" to the beginning of the list then elements in the list are: b, a.
If we add "c" to the beginning of the list then elements in the list are: c, b, a.
And so on...
+1
shis1011
19 October 2020, 06:42
thank you @Misiu
0