+ 1

From math import sqrt, cos

What does this code mean

16th Jun 2019, 2:57 AM
Mike Harris
Mike Harris - avatar
1 Odpowiedź
+ 11
In java import => mens you want to import somthing like class and that methods Example import java.util.Scanner; java // is a package util // is sub package Scanner // is class you in that package Sqrt is method of Math class if you have any number and you want find there square root than this method for. Cos is method of Math class if your programme want any mathamatical opration with cos than this method for you.
16th Jun 2019, 3:33 AM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar