@shivrajrtandale98 @zk6290254938
Ribin Pary
DS240623
question.8
How many Object will be formed in the memory after running this line of Python?
x = [(1,2,3),{1,1,1,2},“This Question is Easy Please don’t skip it”,3.14]
@shivrajrtandale98 @zk6290254938
Ribin Pary
DS240623
question.8
How many Object will be formed in the memory after running this line of Python?
x = [(1,2,3),{1,1,1,2},“This Question is Easy Please don’t skip it”,3.14]
Hello…! @paryribi It will form 4 Objects in memory. They are as follows
Tuple=(1,2,3)
Set={1,1,1,2},This is set object two unique elements: 1 and 2. Sets only store unique elements, so duplicates are eliminated.
string=“This Question is Easy Please don’t skip it”
float=3.14
@shivrajrtandale98
There is no option with answer 4 it shows answer 8 please correct it and give the marks
Option d is correct.
The reason there are 4 option in python for string concatenation:-