0

Bonjour quelle différence y a t'il entre "import math " et "from math import*"

import module

29th Nov 2017, 1:33 AM
nabil-e
nabil-e - avatar
3 Respostas
0
bonjour "import math" means that you import all the math to your app. "from math import" + "something" means that you want only the "something" from the math to be imported.
29th Nov 2017, 1:22 PM
Elias Papachristos
Elias Papachristos - avatar
0
thanks Elias
29th Nov 2017, 2:47 PM
nabil-e
nabil-e - avatar
0
You are welcome!
29th Nov 2017, 3:03 PM
Elias Papachristos
Elias Papachristos - avatar