filmov
tv
write a python program to print the numbers of a specified list after removing even numbers from it
Показать описание
# write a python program to print the numbers of a specified list after removing even numbers from it
num=[3,4,5]
num=[x for x in num if x%2!=0]
print(num)
num=[3,4,5]
num=[x for x in num if x%2!=0]
print(num)