Can anyone please tell me which python module needs to be imported to invoke the following functions : 1. sin()2.fabs()3.trunc() | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Can anyone please tell me which python module needs to be imported to invoke the following functions : 1. sin()2.fabs()3.trunc()

14th May 2019, 1:14 PM
Da Talking Pigeon
Da Talking Pigeon - avatar
2 Respostas
+ 4
hi, you need to import ā€œmathā€ import math math.sin(...) math.fabs(...) math.trunc(...)
14th May 2019, 4:25 PM
Lothar
Lothar - avatar
+ 1
Yeah thank u sir !
14th May 2019, 4:48 PM
Da Talking Pigeon
Da Talking Pigeon - avatar