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.
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.
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
- 1. Nancy Pelosi 78.5K posts
- 2. Marshawn Kneeland 49.3K posts
- 3. Ozempic 8,330 posts
- 4. Michael Jackson 74.5K posts
- 5. Craig Stammen 2,050 posts
- 6. Gordon Findlay 3,704 posts
- 7. Oval Office 27.6K posts
- 8. Pujols N/A
- 9. Jaidyn 2,073 posts
- 10. GLP-1 5,801 posts
- 11. Sean Dunn 1,534 posts
- 12. #MichaelMovie 71.1K posts
- 13. Novo Nordisk 8,435 posts
- 14. Kyrou N/A
- 15. Abraham Accords 5,895 posts
- 16. Kazakhstan 7,674 posts
- 17. Sandwich Guy 5,587 posts
- 18. Unplanned 9,473 posts
- 19. NOT GUILTY 15.2K posts
- 20. Baxcalibur 6,758 posts
Something went wrong.
Something went wrong.