KnowledgeBoat Logo

Computer Science

What do you understand by block/code block/suite in Python ?

Python Funda

26 Likes

Answer

A block/code block/suite is a group of statements that are part of another statement. For example:


if b > 5:
    print("Value of 'b' is less than 5.")
    print("Thank you.")

Answered By

11 Likes


Related Questions