Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
1.3.2 Tuples
wiley_pastebin
Nov 13th, 2019
829
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
>
myTuple
=
(
“apple”
,
“orange”
,
“pear”
)
In the same way we access lists we can access tuples
,
>
print
(
myTuple
[
1
]
)
>
“orange”
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
FED RESPONSE TEMPLATES: FED HTML Review Feedb...
8 hours ago | 0.79 KB
disable email per category (not fully tested)
11 hours ago | 0.82 KB
Neuromancer — The Construct Cut (Complete Una...
17 hours ago | 3.30 KB
GLUC6
17 hours ago | 1.56 KB
Mapscan v1.0 - Archeagus Grey Hack Series, Ep...
JavaScript | 22 hours ago | 3.33 KB
Untitled
22 hours ago | 17.15 KB
gpt2
Go | 1 day ago | 2.79 KB
gpt
GetText | 1 day ago | 1.07 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!