Apr-29-2019, 06:39 AM
Hi,
I am newbie in this python fourm portal and need some help from experts side.
Suppose i declare string variable i.e name = "david" and perform name[0:3]
then it prints "dav". But when i was trying to declare name[3:0] then it shows blank ?
how can i take output as "vad" ?
is it possible or not ?
KS
I am newbie in this python fourm portal and need some help from experts side.
Suppose i declare string variable i.e name = "david" and perform name[0:3]
then it prints "dav". But when i was trying to declare name[3:0] then it shows blank ?
how can i take output as "vad" ?
is it possible or not ?
KS