Question
Write the few rules for the variable naming convention.

Answer

The rules are:
(i) A variable name must start with an alphabet (capital or small) or an underscore (_).
(ii) A variable name can consist of alphabets, digits, and underscore(_). No other character is allowed.
(iii) A Python keyword cannot be used as a variable name.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free