Cursussen
InloggenBegin met het leren van AI
Cursussen
InloggenBegin met het leren van AI
0

Explain this function

def f(m,n): return m|n print (f(10,20)) #Outputs 30 Can you please explain the return statement. What is this "|" doing here resulting in =>30?

functionsfunction-argumentssololearnpython3codeplayground
5th Jan 2021, 9:12 AM
CHANDAN ROY
CHANDAN ROY - avatar
1 Antwoord
+ 10
https://www.sololearn.com/Discuss/2609329/?ref=app
5th Jan 2021, 9:15 AM
Simba
Simba - avatar

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Guys I don't know anything about cooding who can help me pls
1 Votes
Why can’t I use double “ in python?
1 Votes
Coding for Cybersecurity
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
Decorators in python.
2 Votes
Salut tout le monde
1 Votes
Please click me
0 Votes
How can i isntall modules
1 Votes