Commit 7e9e147b by mervin

宝石与石头

parents
mystone=['a','b','c','A','B','C','D','e','F']
gem=['a','c','F']
mygem=[x for x in gem if x in mystone]
print(len(mygem))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment