Advertisement
ancestor_tunji

#first_longer_than_second

Feb 6th, 2020
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. #5
  2. def first_longer_than_second(a = " ",b = " "):
  3.     if len(a) > len(b) :
  4.             print("True")
  5.     else :
  6.             print("False")
  7. first_longer_than_second("bus","python")          
  8. first_longer_than_second("python","bus")
  9. first_longer_than_second("bus","bus")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement