Q. What is the internal structure of Python strings?

 

Answer =
 
String in python are stored as individual character in contiguous locations , with two – way index
For which each location .


Example =

      0
      1
      2
      3
      4
       5
     P
      Y
      T
     H        
      O
      N
    -6
     -5
     -4
    -3
      -2
      -1

5 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post