colors = ['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet']
Correct Answer : Option (B)
print(3 >= 3)
Correct Answer : Option (A)
print(type([1,2]))
Correct Answer : Option (C)
>>> str1 = 'hello' >>> str2 = ',' >>> str3 = 'world' >>> str1[-1:]
Correct Answer : Option (D)
>>>str1="helloworld" >>>str1[::-1]
def f(a, b): print(a, b) f(b=1, *(2,))
a = [1,2,3] a[-3:-1] = 10,20,30,40
def f(a,b): return a,b f(**{'b':2,'a':1})