Post

Prem Prakash
Prem Prakash@4EverPrem·
@Python_Dv Error. 20 & 5000 are int type while 23 is string because it is enclosed within quotes. Addition cannot be performed on mixed data types.
English
1
0
3
822
m1dk$9T
m1dk$9T@_n3V3rgiv3UP·
@Python_Dv You can't add a string to an integer
English
0
0
0
51
Sakthi Priya
Sakthi Priya@sakthivijay91·
@Python_Dv Error we cannot apply + operator to a combination of strings and integers
English
0
0
0
19
owaiskhan
owaiskhan@owaiskhan2016·
@Python_Dv The answer is D , You can not add different data types like integers with string
English
0
0
0
18
Cyber Angel
Cyber Angel@Remi82044124·
@Python_Dv The correct answer is d) Error, because Python does not support concatenation of integers with strings directly. This code will raise a TypeError since Python cannot interpret adding an integer (20) to a string ("23"), and then trying to add another integer (5000) to the result.
English
0
0
0
209
Paylaş