Question: # Snippet Status Instructions 0. Hello World! not yet started Write a script which uses the print function to match the output under Desired Output
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. Using the variables given to: Match the output under Desired Output. Write a script which: This should match the output under Desired Output. Write a script which: Write a script which: Write a script which:
# Snippet Status Instructions 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 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
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
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
20. Input with Integers not yet started
21. Input with Floats not yet started
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
Get step-by-step solutions from verified subject matter experts
