top of page

Forum Posts

mailtoarnavpandey
Jul 14, 2023
In Introduction to Python
Homework: Write a while loop that prints all numbers from 1 to 50 except multiples of 4. Write nested for loops to represent a “subtraction table” with 10 rows and 10 columns. Ex: first entry is 1 - 1 = 0, entry to the right is 2 - 1 = 1, so on so forth. (Like a multiplication table.) Resources: Slides: https://docs.google.com/presentation/d/1BcN5TWLdabkdXMF6rVLxVvfBhRZNo5FZBm7CUdw0yL4/edit?usp=sharing Code: https://replit.com/join/qjpzhxpkuc-shrav816 Contact: 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! Recordings for the class have been sent out through email :)
0
6
46
mailtoarnavpandey
Jul 02, 2023
In Introduction to Python
Homework: Write a while loop with these conditions: num starts at 0 Increments by 3 for a multiple of 2 Increments by 5 for a multiple of 3 Increments by 7 for a multiple of 5 Else, increment by 1 (For numbers like 30, a multiple of 2, 3, and 5, just let it increment thrice.) num ends at 50 Write a for loop that reverses a string Resources: Slides: https://docs.google.com/presentation/d/1CRXu6253UinHpiKEMy3jCEwyIZdv6KXOzjep6_acN3M/edit?usp=sharing Code: https://replit.com/join/npmdzjjjhm-shrav816 Contact: 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! Recordings for the class have been sent out through email :)
0
4
35
mailtoarnavpandey
Jun 22, 2023
In Introduction to Python
Homework: Use if-elif-else statements to create a grading system where user inputs a percent grade (0 to 100). If grade is between 100 and 90: print “A” else if grade is between 90 and 80: print “B” else if 70-80: print “C” else if 60-70: print “D” else: print “F” Resources: Slides: https://docs.google.com/presentation/d/1pt5d4uLt0xl3HokgqYP3JJIa4EvTDPIobdGS1sMszUA/edit?usp=sharing Code: https://replit.com/join/ljeselilpf-shrav816 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! Recordings for Week 3 Day 1 Class have been sent out :)
0
11
48
mailtoarnavpandey
Jun 18, 2023
In Introduction to Python
Homework: Which operator makes each of these expressions true? (There’s more than one right answer!) “i can” ? “CODE” float(True) // 7 ? 0.0 “yEET” ? “y e e t” Is each expression true or false? (6.3 + 7.2 / 2 ==  (6.3 + 7.2) / 2) OR NOT(2 * int(7.4) > 14) (“mat ” > “mate”) != (“for” > “Forward”) AND (7 > 8) != (9 > 6) What does each code block print after 5 iterations? # block 1 balance = 900 monthlySpent = 50 balance -= monthlySpent print(balance) # block 2 n = 57 n %= 8 Resources: Class Slides: https://docs.google.com/presentation/d/1bqxrxdfScq97fRPdsi6wJ-Wif6LuSCXVz_E9RotFDg8/edit?usp=sharing Class Code: https://replit.com/join/fwkbsafdvx-shrav816 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! Recordings for class #3 have been sent out through email :)
0
6
36
mailtoarnavpandey
Jun 12, 2023
In Introduction to Python
Homework: Write a program that takes two inputs and stores them in variables feet and inches. Print output of their height in centimeters. (12 inches = 1 foot, 1 inch = 2.54 centimeters) What do these print? (“99” - 8) % 6 int(5.8) + float(9) * 3 4 + int(“447”) str(4) + “447” str(bool(0)) + “ is the opposite of ” + str(bool(25)) Resources: Class Slides: https://docs.google.com/presentation/d/1-N_NI0x7VWJPifcFJ5MhrdIM52iFB9Fq0ttRNVl9_YM/edit?usp=sharing VERY IMPORTANT YOU LOOK THROUGH THIS, IMPORTANT INFORMATION REGARDING CONTESTS!! Class Code: main.py - Python-Week1Day2 - Replit 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! Recordings for class #2 have been sent out through email :)
0
6
54
mailtoarnavpandey
Jun 09, 2023
In Introduction to Python
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!
Intro to Python 6/7 - Week 1 Day 1 Homework content media
0
11
66

mailtoarnavpandey

Forum Moderator
More actions
bottom of page