Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 23rd, 2018
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
n = 4
for i in range(n):
for j in range(n):
print(i, end='') # end='' so that we keep writing to the same line
print() # skip to the next line
# OUTPUT:
# 0000
# 1111
# 2222
# 3333
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
JSON | 3 min ago | 4.18 KB
Untitled
Go | 8 min ago | 0.52 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 8 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 14 min ago | 0.39 KB
2024-04-26_stats.json
JSON | 14 min ago | 4.16 KB
2024-04-26_stats.json
JSON | 16 min ago | 4.15 KB
2024-04-26_stats.json
JSON | 17 min ago | 4.12 KB
pastebin.ai - New pastebin.com alternative
PHP | 1 hour ago | 0.81 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!