+ 1

What is the meaning of "5।3" in python 3?

I saw this on a question of challenge. print(5।3) how it would be calculated, Can anyone help me to learn this?

17th Apr 2020, 7:51 PM
Surojit Mondal
Surojit Mondal - avatar
2 ответов
+ 2
5 in binary 101 3 in binary 011 5|3=111 111 in decimal is 7 hence final answer is 7 Read this article it clear your doubts. https://www.sololearn.com/learn/4073/?ref=app
17th Apr 2020, 8:21 PM
Muhammad Bilal
Muhammad Bilal - avatar
+ 1
5 in binary: 101 3 in binary: 011 | = btwise or 0 | 0 = 0 1 | 0 = 1 0 | 1 = 1 1 | 1 = 1 101 011 111 = 7 5 | 3 = 7 This will be also helpful: https://www.sololearn.com/learn/4401/?ref=app https://www.sololearn.com/learn/4070/?ref=app
17th Apr 2020, 8:27 PM
Denise Roßberg
Denise Roßberg - avatar