Im getting output - "def"
But it should be "cdef" because the length of st1 is 6 and 6/2=3 (which indicates "c" in st1)
You can make a change to your code in this way:
st1 = 'd'
different data type is being used. that ...READ MORE
You cannot use a string in ...READ MORE
Hi @ Prajwala
All the members here, I ...READ MORE
You are using older version of pip ...READ MORE
You can also use the random library's ...READ MORE
colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
You can simply the built-in function in ...READ MORE
$ pip install gevent --pre
$ pip ...READ MORE
Regarding your query, I hope this ...READ MORE
Already have an account? Sign in.