what is the second answer for 2.4 code practice on edhesive
Answers
Answered by
17
Imports math
X=int(input ("enter a no:"))
Print ( math.sqrt( math.fabs(x));
Hope thse would helps u to☆▪☆《▪¤▪》
Answered by
19
Answer:
Question 1:
import math
x = int(input ("Input a negative or positive integer of your choice: "))
print (math.sqrt(math.fabs(x)))
Question 2:
import math
x = float(input("Input a decimal number of your choice: "))
y=int(x)
x=x-y
print(math.fabs(x))
Explanation:
Similar questions