+ 2
There are 3 test case how do I solve this
Create a Python program that calculates the absolute value of a given number. The program should prompt the user to input a number, then compute and print the absolute value of that number. Input Format- The input consists of single number. Output Format- The output consists of absolute value of the input.
2 Respuestas
+ 1
Read carefully: The keyword is "input".
+ 4
Mahima Shammi ,
did you made any try in coding so far for this exercise?
> if yes: save the code on playground, create a link to it and post it here.
> if no: start coding. if you get stuck somewhere, come back and post a link to this code.
it is always a good idea to mention what tutorial you are talking about, also the lesson name or exercise name.