th0m45s5helby

Untitled

Oct 26th, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. if input() in ['brand','size','weight','color']:
  2.     for i in sorted(l,key=l[l.index(input())]):
  3.         print(l[l.index(input())])
  4.         print(i)
  5. else:
  6.     print("INVALID INPUT")
Advertisement
Add Comment
Please, Sign In to add comment