Select the correct answerWhich of the following is invalid?Options_c = 1__cod__ = 1none of the mentioned__c = 1
Question
Select the correct answerWhich of the following is invalid?Options_c = 1__cod__ = 1none of the mentioned__c = 1
Solution
The invalid option is "cod = 1". In Python, variable names cannot start and end with double underscores.
Similar Questions
Select the correct answerWhich of the following is an invalid statement?Optionscod = 2,000,000c,o,d = 2000, 3000, 4000c_o_d = 2,000,000c o d = 2000 3000 4000
Select the correct answerWhich of the following is an invalid variable?Optionscode1code_tantracode_tantra_1_
Which of the following is invalid?_a = 1__str__ = 1none of the mentioned__a = 1
Select the correct answerWhat is the return value of trunc()?OptionsboolintfloatNone
Select the correct answerWhich of the following will run without errors?Optionsround(4892.654,3,6)round(34.7)round()round(3429.654,8,5)
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.