Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
clairec
Apr 10th, 2017
41
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
# global variable
listy_list
=
[
'spam'
,
'eggs'
,
'horses'
]
# functions for interacting with global
def
get_item
(
n
)
:
return
listy_list
[
n
]
def
set_item
(
n
,
stringy
)
:
listy_list
[
n
]
=
stringy
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑G2A.com Free Gift Card FIX June 2024🎁
JavaScript | 4 min ago | 0.29 KB
🤑G2A.com Free Gift Card FIX June 2024🤑
JavaScript | 10 min ago | 0.31 KB
🤑G2A.com Free Gift Card FIX June 2024🎁
JavaScript | 16 min ago | 0.30 KB
🤑G2A.com Free Gift Card FIX June 2024🤑
JavaScript | 22 min ago | 0.29 KB
Lottery System
C# | 22 min ago | 4.85 KB
🤑G2A.com Free Gift Card FIX June 2024🤑
JavaScript | 28 min ago | 0.30 KB
🤑G2A.com Free Gift Card FIX June 2024🎁
JavaScript | 34 min ago | 0.29 KB
🤑G2A.com Free Gift Card FIX June 2024🎁
JavaScript | 40 min ago | 0.30 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!