Skip to content

Instantly share code, notes, and snippets.

Booleans, Comparisons & Conditionals

Lesson

Slides

Exercises

Basic Requirements

Introduction to Functions

Lesson

Slides

Exercises

Basic Requirements

  1. In the console or repl.it, try the following and verify

Exercises

Basic Requirements

Numbers

  1. Enter the following expressions into your console.

1 + 2

How do I ask a good question?

We’d love to help you. To improve your chances of getting an answer, here are some tips:

Do some research

... and keep track of what you did. Even if you don't find a useful answer, including links to documentation or similar questions that gave you a clue can help us understand your approach.

Write a title that summarizes the specific problem

The title is the first thing we see and will set the tone for everything that comes after. So make it count.

ine vairagbel = [
  {
    anzr: 'Oeharyyb Phpvaryyv',
    fubrf: [
      {anzr: 'gnffryyrq oynpx ybj-gbc ynpr-hc', cevpr: 1000},
      {anzr: 'gnffryyrq terra ybj-gbc ynpr-hc', cevpr: 1100},
      {anzr: 'cynva orvtr fhrqr zbppnfva', cevpr: 950},
      {anzr: 'cynva byvir fhrqr zbppnfva', cevpr: 1050}
    ]
{
"name": "Reactor Prep",
"description": "Learn to Code",
"author": "Fred Zirdung <[email protected]>",
"syllabus": [
"reading/index.md"
],
"phases": {
/**
W1D2 Exercises
*/
/** SECTION ONE - Booleans Conditionals */
/**
EXERCISE ONE
1. Type the two boolean values -- true and false -- into your console.
/**
Pair Programming Practice. Submit a link to your gist here when you are done:
https://goo.gl/forms/mPumIHpIKF3W1gjt2
*/
/**
EXERCISE ONE
What is wrong with the following definitions of square? Write a sentence or two describing the issue(s); then,
/**
Number Exercises:
*/
/**
EXERCISE One: Enter the following expressions into your console.
*/
1 + 2
3 * 5
/**
Number Exercises:
*/
/**
EXERCISE One: Enter the following expressions into your console.
*/
1 + 2
3 * 5