Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
# Import math Library import math # Initialize the number of items to choose from n = 7 # Initialize the number of items to choose k = 5 # Print the number of ways to choose k items from n items print (math.perm(n, k))
2520