Skip to content

Instantly share code, notes, and snippets.

@retarfi
Last active October 23, 2017 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save retarfi/273ef8bb7ecbeb8409c3ae7424353084 to your computer and use it in GitHub Desktop.
Save retarfi/273ef8bb7ecbeb8409c3ae7424353084 to your computer and use it in GitHub Desktop.
言語処理100本ノック 02
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
s = "".join(i+j for i, j in zip('パトカー', 'タクシー'))
print(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment