Question: 1 . 9 Exercises Exercise 1 . 1 . It is a good idea to read this book in front of a computer so you
Exercises
Exercise It is a good idea to read this book in front of a computer so you can try out the
examples as you go
Whenever you are experimenting with a new feature, you should try to make mistakes. For example,
in the Hello world! program, what happens if you leave out one of the quotation marks? What if
you leave out both? What if you spell print wrong?
This kind of experiment helps you remember what you read; it also helps when you are programming,
because you get to know what the error messages mean. It is better to make mistakes now and on
purpose than later and accidentally.
In a print statement, what happens if you leave out one of the parentheses, or both?
If you are trying to print a string, what happens if you leave out one of the quotation marks,
or both?
You can use a minus sign to make a negative number like What happens if you put a plus
sign before a number? What about
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
