DEF execmain(): x = input("Enter a number:") if (abs(x)= x): print"You entered a positive number" else: x=*-1 print"Number made positive:"x execmain()
Answers
Answered by
0
Answer:
What do you want to know the answer of the code mentioned above or if the syntax is correct.
Explanation:
Though if you want to know if the syntax is correct or not then it is a bit hard as I cannot see you real screen ( in which you are executing the program ).
Similar questions
Computer Science,
3 months ago
English,
6 months ago
English,
6 months ago
Geography,
9 months ago
English,
9 months ago