1. Execute this Program in Python.
Open a new file and then execute the program and Save the
Program and check the output in Python Idle. (Or) Use the
Online Python Compiler to execute the Program.
Include the screenshot of both your Python program which
you typed and as well as Output you got from python Idle.
15 marks
star = {6:"Arnold", 4:"Sylvester", 1: "Jackie Chain", 5:
"Brad Pit"}
mykey = int(input("Enter the key "))
if mykey not in star:
print("YES")
else:
print("NO")
# Follow the Indentation rule. Do not cut, copy, and
paste the program.
2. What is the output if you try to access a tuple like this and
if you try to find the minimum value among the tuple
contents?
10 marks
mytuple=(212,201, 199, 126,"23")
min(mytuple)
Check this in Interactive Python (or) Online Python
Compiler and Give the Output and reason for your output.
3. In Python how can you create a fixed immutable values
which cannot be changed by the program. Give an example
how you write.
10 marks