Resources for Python Bootcamp
Tasks for each day and the concepts to be covered is provided
- import statement, function
- integer
- string
from bootcamp import send_email
print("Sending Email...")
send_email("[email protected]", "Hello there!")
- variables
from bootcamp import send_email
print("Sending Email...")
to = "[email protected]"
message = "Hello there!"
send_email(to, message)
- lists
- for loops
person_list = ["[email protected]", "[email protected]", "[email protected]"]
for person in person_list:
print("Sending email...")
send_email(person, message)
- list indexing
- len
- range
person = person_list[2]
- dictionaries
- input Play around with input and have fun!
- read_file
- splitlines
- slicing
[email protected] Here there!\n
[email protected] Sdfkrhehf!\n
- if
- else
[email protected], Here there!, yes\n
[email protected], skudfhsdufhsk, no\n
- operators
- functions
def calculate_gpa(scores):
gpa = do_some_magic_here(scores)
return gpa
- requests
- regex
Random weather generator here
- while