Powers of 2

Instructions: Complete the function that takes a non-negative integer n as input, and returns a list of all the powers of 2 with the exponent ranging from 0 to n ( inclusive ).Examples n = 0 ==> [...
0 Read More

Difference of Volumes of Cuboids

Instructions: In this simple exercise, you will create a program that will take two lists of integers, a and b. Each list will consist of 3 positive integers above 0, representing the dimensions of cu...
0 Read More

Convert a Number to a String!

Instructions: We need a function that can transform a number (integer) into a string. What ways of achieving this do you know?Examples (input --> output): 123 --> "123" 999 --> "999" -100 -...
0 Read More