How do I add two integers together with Twisted?

后端 未结 3 1041
不思量自难忘°
不思量自难忘° 2021-01-30 04:16

I have two integers in my program; let\'s call them \"a\" and \"b\". I would like to add them together and get another integer as a result. These are

3条回答
  •  天涯浪人
    2021-01-30 04:48

    How about this:

    c = a + b
    

    That should work, and it doesn't need to be done asynchronously (it's pretty fast).

提交回复
热议问题