Question: 0. Hello World! not yet started Write a script which uses the print function to match the output under Desired Output . 1. Single Quotes

0. Hello World! not yet started Write a script which uses the print function to match the output under Desired Output.
1. Single Quotes not yet started Write a script which uses the print function and single quotes to match the output under Desired Output.
2. Double Quotes not yet started Write a script which uses the print function and double quotes to match the output under Desired Output.
3. Triple Quotes not yet started Write a script which uses a single print function and triple quotes to match the output under Desired Output.
4. Using Escape Characters not yet started Write a script which uses the print function to match the output under Desired Output. Be sure to use at least one escape sequence!
5. Special Escape Sequences not yet started Write a script which uses a single print function and the escape sequences for tabs and new lines to match the output under Desired Output.
6. Raw Strings not yet started Write a script which uses the print function and the raw string indicator to match the output under Desired Output.
7. Print a Variable not yet started

Assign the variable my_color to the value "green"

Then use the print function to display my_color and match the output under Desired Output.

8. Print a Variable, Part 2 not yet started This script discusses our favorite day of the week. We start by assigning the variable fav_day to the value of "Monday" then we use the print statement to display it. Next, we re-assign fav_day to "Saturday" and print it again. Some of the code has been provided for you. Complete the code to match the output under Desired Output.
9. Printing Variables and Strings not yet started Write a script which uses a single print function to match the output under Desired Output. You should use the variable swords within the print function.
10. Variable Assignment not yet started Assign a variable to the number104 then use the print function to match the output under Desired Output.
11. Variable Reassignment not yet started You are to reassign the variable swords to a new value, then use the print function to match the output under Desired Output.
12. Calculations - Addition not yet started Add the two variables together and print the result. You should match the output under Desired Output.
13. Calculations - Subtraction not yet started Subtract the two variables given. Display the results so it matches the output under Desired Output.
14. Calculations - Multiplication not yet started Multiply the two variables given. Display the results so it matches the output under Desired Output.
15. Calculations - Division not yet started

Using the variables given to:

  1. Use / operator to divide
  2. Use the // operator to divide

Match the output under Desired Output.

16. Calculations - Modulo not yet started Use the modulo operator to find the remainder when you divide the two variables. Then, display your results so it matches under Desired Output.
17. Calculations - Number Trick not yet started

Write a script which:

  1. Uses the input function to get any number and store it in a variable named my_number
  2. Create a new variable named calculation which equals my_number plus 9
  3. Multiply calculation by 2
  4. Subtract 4 from calculation
  5. Divide calculation by 2
  6. Subtract my_number from calculation
  7. Print calculation

This should match the output under Desired Output.

18. Calculations - Order of Operations not yet started Group the given equation with parenthesis so the ouput matches the output under Desired Output.
19. Basic Input not yet started

Write a script which:

  1. Uses the input function to get data
  2. Assigns the variable named sky_color to that input in Step 1
  3. Uses the print function to display the input
  4. Matches the output under Desired Output.
20. Input with Integers not yet started

Write a script which:

  1. Uses the input function to get data, specifically a number
  2. Assigns the variable named jelly_beans to that input in Step 1
  3. Uses the print function to display the input
  4. Matches the output under Desired Output.
21. Input with Floats not yet started

Write a script which:

  1. Uses the input function to get data, specifically a number
  2. Assigns the variable named cost to that input in Step 1
  3. Uses the print function to display the input
  4. Matches the output under Desired Output.
22. Fix this code not yet started There is an error in this code which is preventing it from executing. Fix the error so the output matches the output under Desired Output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!