What you mean bye does not recognize
IDLE has two parts when you start up you in interactive shell.
Then code will be like this a file eg
import
?IDLE has two parts when you start up you in interactive shell.
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> import math >>> >>> math.pi 3.141592653589793Running as script look a this image.
Then code will be like this a file eg
test_math.py
,no >>>
and have to use print()
.import math print(math.pi)
Output:3.141592653589793