Python Saved Program: beautiful-mountain



Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.


# Python program to display all the prime numbers within a given range

def cmp_ignore(x, y):
	a = x.lower()
	b = y.lower()
	if (a < b):
		return -1
	elif (a > b):
		return 1
	else:
		return 0

print(sorted(['bob', 'about', 'Zoo', 'Very'], key = str.lower))
Execute