Post

Coding Computing Coach
Coding Computing Coach@CodingComputing·
@PythonPr Answer: 125 Solution: a looks like a number, but it's not! The quotes around it make it a string - a sequence of characters. But, int(a) converts it from string to an integer, so b is now the int 123. You can do arithmetic operations on it. Printing b+2 prints 123+2, ie, 125.
English
0
1
4
389
แชร์