Skip to content
#

codecademy

Here are 656 public repositories matching this topic...

A JavaScript class to create a basic node that contains data and one link to another node. The node’s data will be specified when creating the node and immutable. A node’s link to the next node is null when there are no nodes to traverse. Plus an example "An ice cream shop that sells three flavors: strawberry, vanilla, and coconut. The signature…

  • Updated Jan 17, 2021
  • JavaScript

substring_between_letters() takes a string named _word_, a single character named _start_, and another character named _end_. This function should return the substring between the first occurrence of _start_ and _end_ in word. If _start_ or _end_ are not in _word_, the function should return _word_. For example, substring_between_letters("apple"…

  • Updated Jan 27, 2021
  • Python

exponents() takes two lists as parameters named bases and powers. It returns a new list containing every number in bases raised to every number in powers. For example with exponents([2, 3, 4], [1, 2, 3]) the result would be the list [2, 4, 8, 3, 9, 27, 4, 16, 64] because it would first include the three solutions for base 2 [(2**1), (2**2) and (…

  • Updated Jan 24, 2021
  • Python

Improve this page

Add a description, image, and links to the codecademy topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the codecademy topic, visit your repo's landing page and select "manage topics."

Learn more