The one-stop spot for beginners.

Task
Given an integer, n, print its first 10 multiples. Each multiple n x i(where 1≤i≤10) should be printed on a new line in the form: n x i = result.


The one-stop spot for beginners.

Task
Write a Person class with an instance variable, age, and a constructor that takes an integer, initialAge, as a parameter. The constructor must assign initialAge to age after confirming the argument passed as initialAge is not negative; if a negative argument is passed as initialAge


The one-stop spot for beginners.

Day 3: Intro to Conditional Statements

Task
Given an integer, n, perform the following conditional actions:

  • If n is odd, print Weird
  • If n is even and in the inclusive range of 2 to 5, print Not Weird
  • If n is even and in the inclusive range of 6 to 20

The one-stop spot for beginners.

Day 2: Operators

Task
Given the meal price (base cost of a meal), tip percent (the percentage of the meal price being added as tip), and tax percent (the percentage of the meal price being added as tax) for a meal, find and print the meal’s total cost. Round…


The one-stop spot for beginners.

Day 1: Data Types

Task
Complete the code in the editor below. The variables i, d, and s are already declared and initialized for you. You must:

  1. Declare 3 variables: one of type int, one of type double, and one of type String.
  2. Read 3 lines of input from…

What is Random Forest?

Random Forest is an algorithm that consists of many decision trees using random subsets of features that average the outcome to make predictions.

What is a Decision Tree?

Decision trees are like a flowchart structure where an internal node represents a feature or attribute and the…


A walkthrough of my Zillow Scraper using Beautiful Soup.

What is Beautiful Soup?

Beautiful Soup is a Python library that retrieves data out of HTML, XML, and other markup languages. If you ever had a Myspace, Tumblr, or WordPress you have probably seen or know a thing or two about…


What is GitHub? How do you use GitHub? Why should you have a GitHub? Are you new to the data world? If you stick around long enough you’ll hear about GitHub one way or another.

GitHub is a popular platform used by many developers to collaborate and control different versions…


Learning to code is like learning a new language. The easiest way I have found to learn to code is to use the same concepts as someone learning a new language. …


Growing up in a stereotypical Asian American household. I was only exposed to a handful of careers to pursue. Regardless of my talents or interests becoming a doctor, pharmacist, lawyer, or business owner seemed to be the only practical career choices out there (according to my parents). I started watching…

Susanna Han

An advocate of everything efficient.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store