Categories
Computer Science

What happens if you try this in python?

Looking for some help? We have it all. Great price and impressive quality

For This or a Similar Paper Click To Order

Book in upload
For this Learning Journal, first, answer the following questions based on Exercise 1.1. To help you answer the questions, run sample code to produce output for each question. Using a Word (or Word-compatible document), copy and paste the code and screenshots of the output.
1) If you are trying to print a string, what happens if you leave out one of the quotation marks or both and why? 2)You can use a minus sign to make a negative number like -2. What happens for each of the following and why? >>> 2++2 >>> 2–2 >>> 2+-2 >>> 2-+2 3) In math notation, leading zeros are OK, as in 02. What happens if you try this in Python? Why? 4)What happens if you have two values with no operator and a space between them? Why? Part 2:
Describe at least three additional Python experiments you tried while learning Python language in Chapter 1. In the same Word document used in Part 1, add the following:
include Python code and screenshots of your output.
explain what you learned from the results of each experiment. The code and its output must be explained technically. The explanation can be provided before or after the code, or in the form of comments within the code. For code modification type of questions, always mention or clearly highlight the part which is modified, along with the reason stated, as a code comment. The descriptive part of your response must be at least 200 words. Reference Downey, A. (2015). Think Python: How to think like a computer scientist. Green Tea Press. https://greenteapress.com/thinkpython2/thinkpython2.pdf

Looking for some help? We have it all. Great price and impressive quality

For This or a Similar Paper Click To Order

Leave a Reply