0
in python 3 i don't understand This operater(~) please give me some examples also.
1) = ~
3 ответов
+ 5
Check out this post on bitwise complement: https://www.sololearn.com/learn/4076/?ref=app
There are some good explanations in the comments too! You can find the lessons on other bitwise operators if you search in the Learn section of the app.
+ 4
Can you give us the complete code? Thank’s!
+ 2
Bitwise operator :
~ not
Example :
~0 = -1
~1 = -2