Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
# 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