+ 2

Do you know what "dic' means in Python? I'm level 5 and in challenges i encounter with it that i have not studied yet.

Challenging

24th May 2018, 6:19 PM
Saeed Mozaffari
Saeed Mozaffari - avatar
6 Respuestas
24th May 2018, 6:30 PM
🌛DT🌜
🌛DT🌜 - avatar
+ 18
#I guess u r talking about list slices.... #double colons [ : : 1] a=[1,2,3,4,5] print(a[::2]) #will print #[1,3,5] # [start : end : step] #a[::-1] <-- this will inverse the list... #python's coolest feature... #python has many such things thats why take ur time & finish the course... u will like it
24th May 2018, 6:44 PM
🌛DT🌜
🌛DT🌜 - avatar
+ 3
Fata1 Err0r well what does it do? Can you explain what does that do exactly?
24th May 2018, 6:26 PM
Saeed Mozaffari
Saeed Mozaffari - avatar
+ 3
Fata1 Err0r but some items have :: sign. what's it meaning?
24th May 2018, 6:37 PM
Saeed Mozaffari
Saeed Mozaffari - avatar
+ 1
🌛DT🌜 Thank you.
24th May 2018, 6:38 PM
Saeed Mozaffari
Saeed Mozaffari - avatar
+ 1
🌛DT🌜 Really? Thank you very much.
24th May 2018, 6:47 PM
Saeed Mozaffari
Saeed Mozaffari - avatar