Skip to content
#

exponent

Here are 98 public repositories matching this topic...

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 exponent 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 exponent topic, visit your repo's landing page and select "manage topics."

Learn more