a) print(t[3])
b) t[3] = 45
c) print(max(t))
d) print(len(t))
Answer: b
Explanation: Values cannot be modified in the case of tuple, that is, tuple is immutable.
Related Posts
What will be the output of the following JavaScript code?
const pi=3.14;
var pi=4;
console.log(pi);What will be the output of the following JavaScript code?
set.add(“1”);
set.add(“2”);
document.writeln(set.has(“3”));What will be the output of the following JavaScript code?
set.add(“one”);
set.add(“two”);
var itr=set.values();
document.writeln(itr.next().value);What will be the output of the following JavaScript code?
set.add(“one”);
set.add(“two”);
set.add(“three”);
set.clear();
document.writeln(set.size);What will be the output of the following JavaScript code?
set.add(“AngularJS”);
set.add(“Bootstrap”);
set.delete(“Bootstrap”);
document.writeln(set.size);What will be the output of the following JavaScript code?
var set = new Set();
set.add(“one”);
set.add(“two”);
for (let elements of set)
{
document.writeln(elements+” “);
}Which is the subset that transforms web content into secure modules that can be safely hosted on a web page?
Join The Discussion