Which of the following is used to define a block of code in Python language?

Questions & AnswersCategory: Programming LanguageWhich of the following is used to define a block of code in Python language?
Geek Boy Staff asked 2 years ago
1 Answers
Geek Boy Staff answered 2 years ago

a. Indentation
Explanation: In Python, to define a block of code we use indentation. Indentation refers to whitespaces at the beginning of the line.