Question · Blockchain and Web3 course · Module 6: Solidity Basics
The bool Type
What values can a bool variable take in Solidity?
Answer options
- 0 or 1
- true or false
- yes or no
- on or off
You can check the correct answer by solving this task in the CodeWorlds game.