sa 11 ip chapter 3

1. From the following, find out which assignment statement will produce an error. State reason(s) too.

The statements which will produce an error are: y = 037 # Decimal Integer literals can’t start with a 0 z= 0o98 # Digit 9 can’t be used in octal system 56thnumber = 3300 # variable name can’t start with a digit !Taylor = ‘Instant # variable name can’t start with a ! this variable

1. From the following, find out which assignment statement will produce an error. State reason(s) too. Read More »