diff --git a/task1.py b/task1.py index 84fb8b2..6559d21 100644 --- a/task1.py +++ b/task1.py @@ -7,3 +7,7 @@ count += 1 ourList + #print(ourList) + belowFive=[i for i in ourList if i<5] #sort all integers less than Five for ourList Array + +print(belowFive) diff --git a/task2.py b/task2.py index 92ccab7..094b189 100644 --- a/task2.py +++ b/task2.py @@ -4,3 +4,6 @@ randomPhrase = " ".join([words[random.randrange(0, len(words))] for i in range(4)]) randomPhrase +ReverseWord = randomPhrase[::-1] + +print (ReverseWord)