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. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
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
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