Create a python module, call it "one",and write a function "double(n)"that simply doubles the input n.
Create another python module,call it "two",and write a function "doubletriple()" that (1) asks the user for a number; (2) doubles it using the "double" function from the "one" module; and (3) triples it. Then, it should assign the result in a global variable "x" and returns it.
Here is a sample output:
Enter a number: 10
The number 10 doubletripledis 60
print(x)
60
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here