Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 20th, 2018
110
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
numbers = [100, 200, 300]
iterator1 = iter(numbers)
iterator2 = iter(iterator1)
# Check if they are the same object
print(iterator1 is iterator2)
for number in iterator1:
print(number)
Add Comment
Please,
Sign In
to add comment
Public Pastes
source
JavaScript | 16 min ago | 103.32 KB
vendor-birthday
PHP | 24 min ago | 4.30 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 40 min ago | 0.39 KB
Dragon style
LScript | 41 min ago | 16.48 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 42 min ago | 0.38 KB
data907
JSON | 46 min ago | 0.64 KB
archive-product.php
PHP | 53 min ago | 4.26 KB
Untitled
C++ | 54 min ago | 2.65 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!