Skip to content

Commit

Permalink
Merge pull request #24 from cdlab-sit/sota
Browse files Browse the repository at this point in the history
lambda削除
  • Loading branch information
Sota-Watanabe authored Feb 22, 2019
2 parents 975817f + 5095ca9 commit 2222a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sota222/02.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
str1 = "パトカー"
str2 = "タクシー"

plus_str = lambda x, y: x + y
print(''.join([plus_str(st1, st2) for st1, st2 in zip(str1, str2)]))
#オシャレの最先端!!
print(''.join([st1 + st2 for st1, st2 in zip(str1, str2)]))

0 comments on commit 2222a24

Please sign in to comment.