Untitled

 avatar
unknown
plain_text
a year ago
194 B
5
Indexable
numbers = [5, 3, 8, 1, 6]
item = 8
index = numbers.index(item)
print("The index of", item, "is:", index)

char_list=['h','e','l','l','o']
char_string=''.join(char_list)
print(char_string)
Editor is loading...
Leave a Comment