Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def Check(my_stone,precious):
- jewelery = 0
- for i in my_stone:
- if i in precious:
- jewelery += 1
- return jewelery
- s = list(input("Мои камни: "))
- j = list(input("Драгоценные камни: "))
- answer = Check(s,j)
- print(answer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement