Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Combinations 3/11
DiYane
Aug 18th, 2021
204
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
n
=
int
(
input
(
)
)
counter
=
0
for
x1
in
range
(
0
,
n+
1
)
:
for
x2
in
range
(
0
,
n+
1
)
:
for
x3
in
range
(
0
,
n+
1
)
:
if
x1+x2+x3
==
n:
counter +
=
1
print
(
counter
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Binance and Changelly Hacked
27 min ago | 0.43 KB
Earn +12,000$ in 2 days
CSS | 27 min ago | 0.72 KB
Free Money Glitch
CSS | 27 min ago | 0.72 KB
Crypto site - node admin access
27 min ago | 0.43 KB
Nine Domains for Sale
7 hours ago | 0.60 KB
How to Reorder Pages
Python | 1 day ago | 7.77 KB
How to Extract Pages from PDF
Python | 1 day ago | 8.76 KB
How to Add Header or Footer
Python | 1 day ago | 11.39 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!