I am looking for a tutor to help me go over the study guide for my midterm and to make sure Im on the right track. Would prefer voice if possible. Ill share my screen. Not looking for answers but a walkthrough of the concepts we are going over. The topics are listed below
Know how to write functions.
Know how to use the accumulator pattern for number, string, and list.
What is Python string data?
How to create string in Python?
How the string index work? What are the valid stirng index?
String slicing.
What are string methods? You should know the common string methods such as join(), split(), capitialize(), replace(), find(), upper(), lower(), etc. Know how these methods work.
How does string comparison work?
Know how to use string format.
What is doc string?
What is Python list data?
How to create list?
What are list methods? You should know the common list methods such as sort(), append(), etc.
You shold know the common list functions such as len(), sum(), min() and max().
Know how to refer to item in a nested list.
What is list comprehension? How to use list comprehension?
What is Python tuple data?
How function return tuple data?
When a function return tuple data, how to save the data to variables?
What is Python dictionary?
Know the Python dictionary such as keys(), values(), items(), get(), etc. Know how these methods work.
Know how to add data to dictionary.
Know how to refer to item in dictionary.
What is Python module?
How to import module?
How to call functions/methods in a module?
Know common Python modules such as os, sys, urllib, date, datetime, math, random, etc. Know basic functionalities of each. For example, which module can retrieve the current working directory? Which module can access website? Which module can convert time zones?
What is Python package?
How to import package?
How to import on certain module within a package?
How to open file to read in Python?
How to open file to write in Python?
What is common separate values file? What does the delimiter separate?
How to read csv file in Python?
#๐ Midterm Study Guide
35 messages ยท Page 1 of 1 (latest)
@atomic scarab
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
which of these is the one you're least sure about?
all lol Im really bad at Python
How the string index work? What are the valid stirng index?
Do you understand what this question is asking?
No
if there's a string variable named foo, how would you print the second character in that string?
print(f"{foo[1]}")
you could just do print(foo[1])
I see what you did there.. lol
it seems like you know more than you're letting on.
Im not confident
bar = {'a': 'b'}
how can we add a new key 'c' with a value of 42?
Thats why I wanna run over it with someone that knows their stuff
That's what we're doing right now. But I can't join voice. most people won't, either.
don't forget to answer this
I know we just started pause rq gotta calm wife down quick. She is nervous about Iran
ummm regarding the question.
c = '42' idk
we're adding it to a dict.
@atomic scarab what have you been doing all semester?
I recommend writing some code that does all the things listed in the study guide.
Went on a trip to germany for 2 weeks at the beginning. Learning SQL and network security. Found out wife is pregnant again. Trying to finish unpacking house we just moved into. SO a lot
and work on top of it and taking care of a 3 year old
but you have to write code for homework, right?
for labs yeah
okay, what was the most recent lab about?
:warning: The owner of this post is no longer in the server.
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.