O Level Exam : Practical Question
📝 HTML
🎨 CSS
⚡ Java Script
t = (10, 20, 30, 40, 50) element = int(input("Enter an element to search: ")) if element in t: print("Element exists in the tuple.") else: print("Element does not exist in the tuple.")
▶ Run Code
🖥 Output: