Skip to content

Commit

Permalink
lambda削除
Browse files Browse the repository at this point in the history
  • Loading branch information
Sota-Watanabe committed Feb 22, 2019
1 parent ef7dc62 commit 5095ca9
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 5095ca9

Please sign in to comment.