python不用加号实现加法
生活随笔
收集整理的這篇文章主要介紹了
python不用加号实现加法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題:
Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.
Example:
Given a = 1 and b = 2, return 3.
?
轉載于:https://www.cnblogs.com/xautxuqiang/p/6008345.html
總結
以上是生活随笔為你收集整理的python不用加号实现加法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2019考研数学汤家凤张宇李永乐复习资料
- 下一篇: 一些微信小程序demo地址记录分享