Computer Science
Suppose a tuple T is declared as T = (10, 12, 43, 39), which of the following is incorrect ?
- print(T[1])
- T[2] = -29
- print(max(T))
- print(len(T))
Related Questions
Which is the correct form of declaration of dictionary ?
- Day = {1:'Monday', 2:'Tuesday', 3:'wednesday'}
- Day = {1;'Monday', 2;'Tuesday', 3;'wednesday'}
- Day = [1:'Monday', 2:'Tuesday', 3:'wednesday']
- Day = {1'monday', 2'tuesday', 3'wednesday'}
Identify the valid declaration of L:
L = ['Mon', '23', 'hello', '60.5']- dictionary
- string
- tuple
- list
Fill in the blanks:
Strings in Python store their individual letters in Memory in _________ location.
Fill in the blanks:
Operator _________ when used with two strings, gives a concatenated string.