Bootcamp
Search…
📅
Course Schedule
0: Language and Tooling Teaching Guide
1: Frontend Basics Teaching Guide
2: Backend Basics Teaching Guide
3: Backend Applications Teaching Guide
4: Backend Structure Teaching Guide
5: Full-Stack Applications Teaching Guide
6: Frontend Infrastructure Teaching Guide
7: React Teaching Guide
8: Advanced React Teaching Guide
9: Advanced Topics Teaching Guide
🧮
Algorithms Teaching Guide
💼
Interview Prep Teaching Guide
☺
User Experience Teaching Guide
Intro to Python

Introduction

RA recommends doing DS&A interviews in Python instead of JavaScript because the concise and English-like nature of Python syntax may enable more efficient use of time in a time-pressured interview setting. This is why Python is the most popular language for solving DS&A problems. In addition, Python is the most popular language for data-related work, e.g. data analytics or data science, thus it will be in students' favour to learn Python in addition to JavaScript.

Python Quirks

  1. 1.
    Python variables adhere to function scope, which means all local variables are accessible within the function in which they are declared. This is different from the block scope that applies to let and const vars in JavaScript.
  2. 2.
    Python == works like JS ===, in that both operators compare both value and data type.

Exercises

The following are a collection of concise exercises from learnpython.org (powered by datacamp.com) that we believe will be helpful to you to do before starting DS&A practice with RA.
  1. 1.
    ​Hello, World!​
  2. 2.
  3. 3.
    ​Lists​
  4. 4.
    ​Basic Operators​
  5. 5.
    ​String Formatting​
  6. 7.
    ​Conditions​
  7. 8.
    ​Loops​
  8. 9.
    ​Functions​
  9. 10.
  10. 11.
    ​Dictionaries​
Last modified 2mo ago