Solution for python course: functions nr. 15 abs()


#1

the question is:
Set absolute equal to the absolute value of -42 on line 1.
I wrote:
absolute = -abs(-47)
but it doesnt accept this answer
HEEEEEELP XD
thx


#2

your value is -47, not -42

why would you use -abs()? abs() make the value absolute, so not sure why you would use minus before abs


#3

thanks, i know i was just desperate to find the answer so i just tried to use -abs(47) xD
but of course my mistake is the wrong number, i’m so stupid xDDDDD


#4