Post

Python Developer
Python Developer@Python_Dv·
Comment below the output! 😃👇
Python Developer tweet media
English
58
17
233
36.9K
Saket Kumar
Saket Kumar@SaketKumarX·
@Python_Dv Output : 125 ✅ a = "123" --> It's a string. b = int(a) --> typecasting string into integer. So now, b = 123 --> an integer. print(b + 2) --> 123 + 2 = 125
English
2
1
19
2.2K
Kamal Gurjar
Kamal Gurjar@KamalGurjar8·
@Python_Dv Output: B — 125 "123" is converted to the integer 123, then + 2 → 125.
English
0
0
6
3.3K
Earnest Codes
Earnest Codes@Earnesto037·
@Python_Dv Answer: (B) 125  The code first assigns the string value "123" to the variable a. Next, the int() function converts this string to the integer value 123, which is then stored in the variable b. Finally, the program prints the result of the addition operation b +
English
1
0
4
1.6K
eirennA
eirennA@chemdiip·
@Python_Dv int = angka bulat jadi hasilnya 123 + 2 => 125
Indonesia
0
0
0
44
Mauricio Ocampo G.
Mauricio Ocampo G.@Maurici76097484·
@Python_Dv 123 es un string convertido a int se transforma en 123 numerico y sumado con 2 nos da 125
Español
0
0
0
218
Paylaş