Comment your answers below! 👇

Python_Dv's tweet image. Comment your answers below! 👇

Answer: (B) 125 Explanation: The variable c is initialized as a string with the value '12'. The += operator is used to concatenate the string "8" to the string c.  The value of c becomes '128'. The int() function converts the string '128' to the integer 128.


Stream, call, game, and work in even the most remote locations. Order online in minutes


125, string concatenation and conversation to int and subtraction operation


Answer:-(B) 125 c is a string with value '12' c += "8" this is equivalent to c = c + "8" So now the value of c is '128'(By string concatenation) int(c) convert c into integer print(128 - 3) So output is 125.


Alternative B: 125


B . Converted class c which was str “12” + “8” to int that make it a valid number numeric number 128 - 3 =125


Start your journey in simulated trading with FTMO, backed by 10 years of experience.


Python and loose typing is fucking shit


BudapestMemorandum ry A non-profit civic organization registered in Finland. We bring together citizens, artists, and technologists, guided by humanitarian, non-partisan, and long-term values.

bpmorandum's tweet image. BudapestMemorandum ry A non-profit civic organization registered in Finland. We bring together citizens, artists, and technologists, guided by humanitarian, non-partisan, and long-term values.

United States Trendy
Loading...

Something went wrong.


Something went wrong.