Fungsi eval dalam python
#eval()
z=eval(input("enter the list:"))
n=int(input("enter the list to search:"))
freq=z.count(n)
if freq>0:
print(n,"occurs",freq,"times")
else:
print(n,"does not occur")
Gr@Y_orphan_ViLL@in##