Files
ola5doc/output/sources/position.py
T

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))