Back
This will work:
excludedNumbers = [50]for num in range(30, 101, 10): if num not in excludedNumbers: print(num)
excludedNumbers = [50]
for num in range(30, 101, 10):
if num not in excludedNumbers:
print(num)
Do check out data science with python certification to understand from scratch
31k questions
32.8k answers
501 comments
693 users