Hello everyone! I hope you all had a great first class. Here is your first homework assignment. Solutions will be posted later this week. Let us know if you get stuck on something and need some help.
Homework:
Giver 3 examples of each data type (2 for Boolean)
Create the variables name, grade, color, and another variable for something you like. Use f-strings/concatenation to print the following string but with your information:
Shravya is in 11th grade, and her favorite color is blue.
Shravya's favorite movie is Thor: Ragnorok.
Resources:
Class slides: https://docs.google.com/presentation/d/198KFEj0Y9F2lbD_pV5QoxOBBly_hCVr_zYyoJ_kBrnM/edit?usp=sharing
Class code: https://replit.com/@ShravyaS/IntroToPython-Class1#main.py
Discord: https://discord.gg/28D6hGXP
Contact info:
shravyassathish@gmail.com (mentor)
kingericwu@gmail.com (TA)
felixguo41@gmail.com (TA)
int ex: 1,2,3
string ex: "ethan", "box", "lamp"
float ex: 9.23, 5.24, 7.27
boolean ex: true, false
name = "ethan"
grade = "7th"
color = "orange"
favorite sport = "volleyball"
print (f'{name} is in {grade} and his favorite color is {color}, his favorite sport is {favorite sport}')