Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 25th, 2018
91
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
def oddTuples(t):
t2=();
for i in range(0,len(t),2):
t2=t2+(t[i],)
return t2
#return t[::2]
t=tuple(input().split(" "))
t1=oddTuples(t)
print(t1)
Add Comment
Please,
Sign In
to add comment
Public Pastes
micro-install
Bash | 31 min ago | 0.61 KB
Pets
C | 48 min ago | 2.02 KB
set-editor
Bash | 48 min ago | 0.27 KB
snowybot
JavaScript | 59 min ago | 1.74 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 1 hour ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Untitled
C++ | 1 hour ago | 2.78 KB
Untitled
C++ | 1 hour ago | 2.23 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!