This website requires JavaScript.
Explore
Help
Sign In
ada
/
csc-python-solutions
Watch
1
Star
0
Fork
0
You've already forked csc-python-solutions
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
main
csc-python-solutions
/
15
/
b
/
4 - Be Choosy.py
8 lines
104 B
Python
Raw
Permalink
Normal View
History
Unescape
Escape
Create 4.py
2021-02-17 10:18:10 +00:00
def
choose
(
n
,
k
)
:
res
=
n
/
k
while
k
>
1
:
Update 4 - Be Choosy.py
2021-02-22 10:39:56 +00:00
n
-
=
1
Create 4.py
2021-02-17 10:18:10 +00:00
k
-
=
1
res
*
=
n
/
k
return
res
Reference in New Issue
Copy Permalink