Hello everyone! Wanted to apologize for all of the technical difficulties that occurred today that caused some delays and halts during class. Here are the resources we went over, the recordings will be sent via email!
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: Ragnarok.
Resources:
Class slides: https://docs.google.com/presentation/d/1sEZUlUHfWHJThTd8MP667DqFoJxvlKXwJfRNZZHwkoA/edit?usp=sharing
Class code: https://replit.com/@arnavpandey722/IntroToPython-Wk1Day1?v=1
Contact info:
shravyassathish@gmail.comĀ (mentor)
mailtoarnavpandey@gmail.com (TA) Make sure to "Add a comment" with your code to the homework in order to submit your homework assignment!
Ernie
#1 #Str s1 = 'Ball' s2 = 'dog' s3 = 'cat' #int n1 = 123 n2 = 3 n3 = -1 #float f1 = 0.23 f2 =1.3 f3 = 4.23 #bool b1 = True b2 = False #code print(type(s1)) print(type(s2)) print(type(s3)) print(type(n1)) print(type(n2)) print(type(n3)) print(type(f1)) print(type(f2)) print(type(f3)) print(type(b1)) print(type(b2))
#2 name = 'Name' grade = '123' color = 'red' v1 = 'thing' print(name + " is in " + grade + " grade, and his favorite color is " + color + ".") print(f'{name}\'s favorite thing is {v1}.')