If anyone will search answer, I did it!
import math
x = int(input("How many cities? "))
a = math.factorial(x)
print("For", x, "cities, there are", a, "possible routes")
solved Traveling Salesman assignment
If anyone will search answer, I did it!
import math
x = int(input("How many cities? "))
a = math.factorial(x)
print("For", x, "cities, there are", a, "possible routes")
solved Traveling Salesman assignment