What is string?
What uses to configure strings values? ( 2 )
What does + means in python?
What are the type for number in strings?
How can we convert numbers in string into integer?
How can we get single character from a string variable?
What are the rules for index value? ( 2 )
What will we get when we attempt to inde beyond the end of a sting
How can we loop through string?
fruit = “banana”
index = 0
while index < len(fruit):
letter = fruit[index]
print(index, letter)
index = index + 1
for letter in fruit:
print(letter)
while index < len(fruit):
letter = fruit[index]
print(letter)
index += 1
How can we get the length of a string?
fruit = “banana”
print(len(fruit)) # 6