multiples = []
for x in range(1,11):
    multiples.append(x*7)
print(multiples)

multiples = [x*7 for x in range(1,11)]
print(multiples)

languages = ["Python", "Perl", "C", "C++"]
lengths = [len(language) for language in languages]
print(lengths)

z = [y for y in range(0,100) if y % 3 == 0]
print(z)

def odd_numbers(n):
	return [x for x in range(1,n+1) if x % 2 == 1]

print(odd_numbers(5))  # Should print [1, 3, 5]
print(odd_numbers(10)) # Should print [1, 3, 5, 7, 9]
print(odd_numbers(11)) # Should print [1, 3, 5, 7, 9, 11]
print(odd_numbers(1))  # Should print [1]
print(odd_numbers(-1)) # Should print []