Week 6 Sample Program

posted Nov 10, 2016, 8:05 AM by Attila Lengyel
for i in range(0, 100):
print(i)

list = []
list.append(input("Give me a word to remember:"))

for i in range(10):
list.append(input("Give me an other:"))

for i in list:
print(i)

text = input("Give me sentance:")

i = 0
while(i < len(text)):
print(text[i])
i = i + 2
for j in range(0, len(text), 1):
print(text[j])



Comments