Source code (for positive integers)---
num = float(input("Enter the number:"))
cube = (num**(1/3))
print("The cube root of the number is",cube)
Source code(for negative integers)---
num = float(input("Enter the number:"))
cube = (-(-num)**(1/3))
print("The cube root of the number is",cube)