Add to bookmarks
Add to collection
Convert Hours into Seconds
Write a function that converts hours into seconds. Examples howmanyseconds(2) ➞ 7200 howmanyseconds(10) ➞ 36000 howmanyseconds(24) ➞ 86400 Notes 60 seconds in a minute, 60 minutes in an hour Don't forget to return your answer.
language_fundamentals
math
numbers
Very Easy
Add to bookmarks
Add to collection
Return a String as an Integer
Create a function that takes a string and returns it as an integer. Examples string_int("6") ➞ 6 string_int("1000") ➞ 1000 string_int("12") ➞ 12 Notes All numbers will be whole. All numbers will be positive.
language_fundamentals
numbers
strings
Very Easy
Add to bookmarks
Add to collection
Power Calculator
Create a function that takes voltage and current and returns the calculated power. Examples circuit_power(230, 10) ➞ 2300 circuit_power(110, 3) ➞ 330 circuit_power(480, 20) ➞ 9600 Notes Requires basic calculation of electrical circuits (see Resources for info).
math
numbers
Very Easy