Posted on 29th March 2024
I can explain to you by using the below example:
nin_string = 'xbzefdgstb'
print ("the initial_string : ", nin_string)
sstring = nin_string[2:7:2]
print ("the resultant substring", sstring)
Output:
the initial_strings : xbzefdgstb
the resultant substring zfg
STILL GOT QUERIES?