Identify the valid declaration of rec object given as
follows:
>>> rec='Roll number' +str (1)+ ' Age'+ str (15)
a) Tuple b) String c) Dictionary d) List
Answers
Answered by
0
Answer:
ch ksvs ssnzbssbs
shshskshdjshgds
Answered by
0
Answer: Option C) Dictonary
Explanation:
Strings, Tuples & Lists are usually contained in brackets (eg : (), [], etc.)
Dictionary only has a class name with addition to other attributes
Similar questions
India Languages,
2 months ago
Math,
2 months ago
Math,
5 months ago
English,
11 months ago
Science,
11 months ago