I need help for a math problem concerning permutations. The task is:
How many four-digit even numbers are there where no digit appears more than once.
I've come this far:
gerade = set()
for c in range(1000,9999):
for d in str(c):
if int(d) %2 !=0:
gerade.add(c)
if
break
print (c)