1234567891011121314151617181920212223242526272829303132333435 |
- x = 1
- x += 4
- print x == 5
- x -= 2
- print x == 3
- x *= 4
- print x == 12
- x /= 6
- print x == 2
- x %= 5
- print x == 2
- x = 1L
- x += 4L
- print x == 5L
- x -= 2L
- print x == 3L
- x *= 4L
- print x == 12L
- x /= 6L
- print x == 2L
- x %= 5L
- print x == 2L
- x = 1.5
- x += 4.2
- print x == 5.7
- x -= 3.7
- print x == 2.0
- x *= 4.25
- print x == 8.5
- x /= 4
- print x == 2.125
- x %= 2
- print x == 0.125
|