In Python, you can use the in operator to check if a key exists in a dictionary. test.py. def main(): fruits = { 'apple':1, 'orange ...
確定! 回上一頁