Computer Science, asked by arnab6321, 5 months ago

C.
Write a Python program that takes a value and checks whether
the given value is part of given dictionary or not. If it is, it should
print the corresponding key otherwise print an error message.

Answers

Answered by Anonymous
0

Answer:

v= input("enter value : ")

result = isinstance(v, int)

if result :

 print("Yes! given variable is an instance of type int")

else:

 print("No! given variable is not an instance of type int")

Explanation:

Similar questions