# -*- coding: utf-8 -*- """lab1.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1uIfii8xjPUXY3EvcruWwKd7yGwZ3NQm0 Store a person's name in a variable, and print a message to that person. For example: "Hello Dorothee, would you like to learn some Python today?" """ """Store a person's name in a variable, and then print that person's name in lowercase, uppercase, and titlecase. > Indented block > Indented block """ """Find a quote from a famous person you admire. Print the quote and the name of its author using two variables, `quote` and `author`.""" """Add tabs or newlines to a new variable with a string value using `\n` or `\t`. Now print the variable using the three stripping functions we've learned: `lstrip()`, `rstrip()`, `strip()`. """ """Write addition, subtraction, multiplication, and division operations that each result in the number 8 and print out the result.""" """Store your favorite number in a variable as an integer or float. Now create a message where you share your favorite number then print the message. Go back and add comments to at least two of the programs you've written using both `#` and `'''`. Keep is short and descriptive. **The formula for converting between fahrenheit and celsius is to first subtract 32, then multiply by 5/9. Can you do the following in python?** Convert a temperature of 100 degrees fahrenheit to celsius Save this to a variable called celsius_100, and use print() to print out the value Is the resulting temperature you get an integer or float? How do you know? """ """Convert a temperature of 0 degrees fahrenheit to celsius Save this to a variable called celsius_0, and use print() to print out the value """ """Convert a temperature of 34.2 degrees fahrenheit to celsius Do this one all in one print statement without saving any variables Now, can you convert back? """ """Convert a temperature of 5 degrees celsius to fahrenheit? What is hotter, a temperature of 30.2 degrees celsius, or a temperature of 85.1 degrees fahrenheit? Print out the higher temperature using a comparison operator. """