• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
+ 1

True and false

What is the purpose of true and false?

python
9th Jan 2022, 3:26 AM
dap
dap - avatar
2 odpowiedzi
+ 10
It's used to represent the truth value of an expression.
9th Jan 2022, 3:13 PM
Vaibhav
Vaibhav - avatar
+ 1
The True keyword is a Boolean value, and result of a comparison operation. The True keyword is the same as 1 (False is the same as 0). // https://realpython.com/JUMP_LINK__&&__python__&&__JUMP_LINK-boolean/ https://www.w3schools.com/python/ref_keyword_true.asp https://canvas.bham.ac.uk/courses/16048/pages/booleans https://pythonprogramminglanguage.com/booleans/ https://www.w3schools.com/python/python_booleans.asp
9th Jan 2022, 3:51 AM
NEZ
NEZ - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Javascript Verification practice
0 Votes
Has anyone been robbed by this app?
1 Votes
Need help on this. I’m a beginner and I don’t know how to do this.
0 Votes
HTML code of ethics
1 Votes
Variables
0 Votes
Python
0 Votes
how to do cool code
1 Votes
Can anyone tell me how to compile HTML, CSS, JS, PHP and SQL, USING ONLINE COMPILER FOR FREE, IF AVAILABLE?
0 Votes
Python beginner 🔰
0 Votes
Suggestions for Engineer's Day project
0 Votes