repl.it
@druceb/

Task 2

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
list1 = [34,56,34,26,80,57,98,100,80,64,102,300,35,6,87,88]
a = len(list1)
index = 0
while a != index:
  if (list1[index] >=80) and (list1[index] <=100):
    item = list1[index]
    list1.remove(item)
    a = a - 1
  index += 1

print(list1)
Fetching token
?