Skip to content

Instantly share code, notes, and snippets.

View jeremy-clearlabs's full-sized avatar

Jeremy jeremy-clearlabs

View GitHub Profile
38944bc1-bca8-46a2-bc91-a5a5c7046301
# in: [1, 2, 3]
# out: [1, 2, 3]
# in: [1, [1, 2], 2, [3]]
# out: [1, 1, 2, 2, 3]
# Hint: You’ll need to use a for-loop somewhere.
def flatten(l, new_list = None):
# Base Case

Simple elevator

There is a house with 4 levels. In that house there is an elevator. You can program this elevator to go up or down, depending on what button the user touches inside the elevator.

Contraints

Valid levels must be only these numbers: 0, 1, 2, 3

Valid buttons must be only these strings: '0', '1', '2', '3'

Body Language of Love and Dating

Citations for the course on Udemy. Course Link

Citations

  • Aldert Vrij. Detecting Lies and Deceit. (Chichester England: John Wiley & Sons, 2000) 93-100.
  • Mark deTurck, “Training Observers to Detect Spontaneous Deception: Effects of Gender,” Communication Reports 4 (Summer 1991): 81-89.
  • K. Fiedler and I. Walka, “Training Lie Detectors to Use Nonverbal Cues Instead of Global Heuristics,” Human Communication Research 20 (December 1993): 199-223.
  • T. A. Russell, E. Chu, and M. L. Phillips, “A Pilot Study to Investigate the Effectiveness of Emotion Recognition Remediation in Schizophrenia Using the Micro-Expression Training Tool,” British Journal of Clinical Psychology 45 (2006): 579-583.