What does the "~" operator do in Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What does the "~" operator do in Python?

From a quiz question I found that the ~ operator exists. But what does it do? Just want to know.

26th Feb 2019, 9:33 AM
[Abandoned]
[Abandoned] - avatar
2 Answers
26th Feb 2019, 10:17 AM
HonFu
HonFu - avatar
+ 3
https://www.sololearn.com/learn/4076/?ref=app
26th Feb 2019, 12:38 PM
Seniru
Seniru - avatar