Last 2 digits of an integer? Python 3

前端 未结 4 947
不思量自难忘°
不思量自难忘° 2020-12-07 00:56

With my code, I want to get the last two digits of an integer. But when I make x a positive number, it will take the first x digits, if it is a negative number, it will remo

4条回答
提交回复
热议问题