i) Serial_no.: Invalid - Identifier in python cannot contain any special character except underscore(_).
ii) 1st_Room: Invalid - Identifier in Python cannot start with a number.
iii) Hundred$: Invalid - Identifier in Python cannot contain any special character except underscore(_).
iv) Total Marks: Invalid - Identifier in Python cannot contain any special character except underscore(_). If more than one word is used as a variable then it can be separated using underscore ( _ ), instead of space.
v) Total_Marks: Valid
vi) total-Marks: Invalid - Identifier in Python cannot contain any special character except underscore(_). If more than one word is used as a variable then it can be separated using underscore ( _ ), instead of a hyphen ( - ).
vii) _Percentage: Valid
viii) True: Invalid - Identifier in Python should not be a reserved keyword.
अगर आपको हमारा दिया गया जवाब पसंद आया तो कृपा करके हमें लाइक कीजिए फॉलो कीजिए और कमेंट कीजिए कि आपको हमारा आंसर कैसा लगा अगर आपको अच्छा लगा तो हमें सपोर्ट कीजिए ताकि हम अन्य छात्र-छात्राओं को भी ऐसे ही सवाल का जवाब दिए और हमारा जो ज्ञान है उस सब को बांट सके धन्यवाद आपकी बड़ी मेहरबानी होगी अगर आप हमें ब्रेनलिएस्ट मार्क करेंge
Answers & Comments
i) Serial_no.: Invalid - Identifier in python cannot contain any special character except underscore(_).
ii) 1st_Room: Invalid - Identifier in Python cannot start with a number.
iii) Hundred$: Invalid - Identifier in Python cannot contain any special character except underscore(_).
iv) Total Marks: Invalid - Identifier in Python cannot contain any special character except underscore(_). If more than one word is used as a variable then it can be separated using underscore ( _ ), instead of space.
v) Total_Marks: Valid
vi) total-Marks: Invalid - Identifier in Python cannot contain any special character except underscore(_). If more than one word is used as a variable then it can be separated using underscore ( _ ), instead of a hyphen ( - ).
vii) _Percentage: Valid
viii) True: Invalid - Identifier in Python should not be a reserved keyword.
अगर आपको हमारा दिया गया जवाब पसंद आया तो कृपा करके हमें लाइक कीजिए फॉलो कीजिए और कमेंट कीजिए कि आपको हमारा आंसर कैसा लगा अगर आपको अच्छा लगा तो हमें सपोर्ट कीजिए ताकि हम अन्य छात्र-छात्राओं को भी ऐसे ही सवाल का जवाब दिए और हमारा जो ज्ञान है उस सब को बांट सके धन्यवाद आपकी बड़ी मेहरबानी होगी अगर आप हमें ब्रेनलिएस्ट मार्क करेंge