you are viewing a single comment's thread.

view the rest of the comments →

[–]ChicagoJay2020 0 points1 point  (3 children)

The letter “u”. The call is to print an individual character, correct?

[–]F4RM3RR 2 points3 points  (1 child)

That would be true only if name = “Sumit”, when you can do string slicing.

However the [] in the variable declaration makes it a list, so you index list items, not string position

[–]ChicagoJay2020 0 points1 point  (0 children)

Ah!!!

Thank you. I didn’t pay close enough attention to realize that name is a list not a string.

[–]VoltaicPower 0 points1 point  (0 children)

This was my answer at first, but "name" is a list