Use the Python Interactive Shell to rate the reckon of routes that can be enslaved coercion the Traveling Salesman substance coercion: (a) 6 cities (b) 12 cities (c) 18 cities (d) 24 cities What is the compute of capricious n subjoined the subjoined instructions are done? J = 3 k = 10 n = j * k Use Python Shell to print
1(1)
import math
x = int(input(“Enter the reckon of cities? “))
a = math.factorial(x)
print(“For”, x, “cities, there can be “, a, ” routes”)
OUTPUT:
2(2)