- 在java,C#中,我们可以把int类型的变量,直接和string类型的变量相加,因为int转为string本来就是 int+"”。
- 但是在python中不行,python中str和int不能直接进行相加,需要通过int()和str()来进行呼唤
int转为stirng,在python和java,C#等不同的地方
猜你喜欢
转载自blog.csdn.net/qq_40666620/article/details/104991084
今日推荐
周排行