9 lines
152 B
Python
9 lines
152 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
sentence="azerty uiop"
|
|
words = sentence.split()
|
|
print (words)
|
|
for word in words:
|
|
print(word.index(word))
|