Assignments for Today

Ice Breaker 2

Take your code from ice Breaker I and format the print statements to create sentences.

  • For example, print(f'My name is {name} and I am {age} years old.')

Email Converter

Create a program that:

  • Takes a yahoo email address from user input
  • Assigns that input to a variable (email)
  • Takes the “” part off of the address using string indexing and splicing
    • Hint: Use the Strings Cheat Sheet
  • Assigns the username of the email address to a variable (username)
  • Assigns username + ''' to a variable named new_email
  • Prints new_email