Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 23rd, 2019
88
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
z=[]
x={"me":['pizza','burger','shawarma']}
y=json.dumps(x)
for a,b in y.items:
print(a)
z=b
z.remove('pizza')
z=['burger','shawarma']
AttributeError: 'str' object has no attribute 'items'
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 6 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 16 min ago | 0.38 KB
Untitled
C | 43 min ago | 4.54 KB
Untitled
Java | 1 hour ago | 0.52 KB
haircut.py
Python | 1 hour ago | 0.69 KB
O(N) approach to Path sum 3
C++ | 1 hour ago | 0.66 KB
Untitled
JavaScript | 1 hour ago | 0.67 KB
fn_initSafezone.sqf
SQF | 1 hour ago | 8.36 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!