Chapter 5 Getting Started With Python
Chapter 5 Getting Started With Python
True/False Questions
Question 1
Answer
Interactive Mode
>>> print("Math is Fun so don't be resistant")
Math is Fun so don't be resistant
>>> print("Just learn the rules, the rules are consistent")
Just learn the rules, the rules are consistent
>>> print("And most important, you must be persistent !")
And most important, you must be persistent !
>>> print("")
Script Mode
Solution
print("Math is Fun so don't be resistant")
print("Just learn the rules, the rules are consistent")
print("And most important, you must be persistent !")
print("")
print("Adding fractions, get common denominators.")
print("Multiply by missing factors to get the denominators.")
print("Add numerators only, NOT denominators.")
Output
Math is Fun so don't be resistant
Just learn the rules, the rules are consistent
And most important, you must be persistent !