sa 11 ip chapter 3

Which of the following are valid identifiers and why/why not : Data_rec, _data, 1 data, datal, my.file, elif, switch, lambda, break ?

Invalid identifiers: 1 data – The first character shouldn’t be a number my.file – Periods are not allowed elif, lambda and break – Keywords can’t be used as identifiers Rest are valid identifiers

Which of the following are valid identifiers and why/why not : Data_rec, _data, 1 data, datal, my.file, elif, switch, lambda, break ? Read More »