Help Session


    Fall, 2019

  1. Each individual should be confirmed by texting from Dr. Yoon
  2. Oct 19, 2019
    Topic Attendee Question Treatment Location Time
    Python Francis Kyeremeh Assignment Dropbox
    • you can email attachments within the class Blackboard
    Dobbs Ferry, Maher Hall 112 2pm - 3:30pm

    Python Kaila Letteri Functions
    • Bring your specific questions, rather than topics, please
    • Differences between list and dictionary
      • List: the order of elements is important
      • Dictionary: the order of elements does not matter
      • List: an element can be accessed by index
      • Dictionary: an element (value) can be accessed by key
      • List: multiple element (element range) can be accessed by index range
      • Dictionary: one element at a time to access
    • An element of a dictionary can be a list, and an element of a list can be a dictionary. See the screenshot below.
    • Difference between two functions, split() and join()
      • split() is associated with a string.
        "Mercy is the best".split()
      • join() is associated with a string.
        ''.join()
      • split() takes a string and returns a list.
        "Mercy is the best".split('z')
        'z' is a delimiter
      • join() takes an iterable (for example, a list) and returns a string.
        '+'.join(['1','4', '3','7'])
        returns '1+4+3+7'
    • split() and join() are performing an opposite manipulation of strings.
    Dobbs Ferry, Maher Hall 112 2pm - 3:30pm
  3. Oct 12, 2019
    Course Attendee Question Treatment Location Time
    Python Jsmin Vega add one more element into a dictionary
    • Use cond.update()
    • An argement should be in a dictionary as well
    Dobbs Ferry, Maher Hall 112 2pm - 3:30pm

    Python Adejimi Adebo basics in Python
    • listening other questions...
    Dobbs Ferry, Maher Hall 112 2pm - 3:30pm

    Python Jeffrey Vives HW3
    • Why two different types of data in one line?
    • "Enter your name and age: "
      • name is in string
      • age should be in int
      • However, input() returns a value in string
    Dobbs Ferry, Maher Hall 112 2pm - 3:30pm

    Python Merni Martina help with coding
    • What is ASCII?
    • One character can be represented in a byte
    • One byte is 8 bits
      • How many characters can be represented in 8 bits?
      • 2 to the power of 8, which is 256
      • ASCII table shows mapping between characters and codes (either binary, hex, decemal, etc)
    • How many bits are necessary to represent the English keyboard?
      • 128 is enough
      • English nees only one half of the ASCII table
      • English can be represented by the lower-ASCII's only ;)
    Dobbs Ferry, Maher Hall 112 2pm - 3:30pm

    Python Nick Franzi split()
    • The function split() can be applied to a string
    • split() takes an argument, based on which you want to split
    • split() returns a list of all strings split
    • "Mercy Cyber is the best".split() returns what?
      • ['Mercy', 'Cyber', 'is', 'the', 'best']
      • Since no argement is used for split(), the given string is split based on a space.
      • Based on a space? or multiple spaces as well?
        • Yes, any number of consecutive spaces!
        • what about split(':')? for any number of ':'?
          • No, for any characters but white spaces, each such character can be applied.
          • try if you want!
    Dobbs Ferry, Maher Hall 112 2pm - 3:30pm
  4. Oct 6, 2019
    Course Attendee Question Treatment Location Time
    Python Jeffrey Vives Conditional statements
    • How to form conditions
    • Structures of conditional statements
    • A few functions, input(), int(), etc.
    Over phone 3pm - 4pm
  5. Sep 28, 2019
    Course Attendee Question Treatment Location Time
    IASP505 Jasmin Vega HW2
      list manipulation
    • differences among the methods .append(); .extend(); and .insert()
    • methods .delete()
    • nexted lists
    • Concepts Learned; Practice on MacBook
    Mercy Manhattan, Library (3F) 5pm - 5:50pm (3F)