commited all contents created by participants

This commit is contained in:
Bachir Soussi Chiadmi
2017-12-21 18:12:40 +01:00
parent cefd1c2ad0
commit b936b1e616
2137 changed files with 1076319 additions and 730 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Write sentence as string
sentence = "Je vois La Vie en rose... Tu vois Le Ciel en vert!"
# Print sentence
print("phrase originale:", sentence)
new_letter = []
words = sentence.split()
# for each word
for word in words:
# iterate over letters of word
for letter in word:
new_letter.append(letter)
#print(new_letter)
print("phrase sans espaces:", "".join(new_letter))