Question:

rapper = "Jaydakiss"

Get the first letter from the string "Jaydakiss".

Answer:

"Jaydakiss"[0]
# OR
rapper[0]

Basically everything in computer science is 0-indexed, so the counting starts at zero, not at 1.


Keywords:

© 2017 QuizBucket.org