0

Can you say output of this function is come as a none?

from math import pi print (pi) print(help('math'))

31st Aug 2019, 6:28 AM
Shekhar Sharma
Shekhar Sharma - avatar
16 Respostas
+ 1
~ swim ~ thanks🙏
1st Sep 2019, 6:14 AM
Shekhar Sharma
Shekhar Sharma - avatar
0
You say from math import pi print (pi) help But only pi is execute not help why
1st Sep 2019, 5:27 AM
Shekhar Sharma
Shekhar Sharma - avatar
0
~ swim ~ you say like from math import pi help(math) This is not execute 😔
1st Sep 2019, 5:51 AM
Shekhar Sharma
Shekhar Sharma - avatar
0
~ swim ~ can u tell me file = open("filename.txt", "w") # do stuff to the file file.close() How apply open file My file is hi.py Myname=("hi.py") When I press enter then file will not run ... Error come 😔 Please told me why this is coming
1st Sep 2019, 6:23 AM
Shekhar Sharma
Shekhar Sharma - avatar
0
I go to cause but dont understand
1st Sep 2019, 6:40 AM
Shekhar Sharma
Shekhar Sharma - avatar
0
Please you tell how how to use open (file.text) with example
1st Sep 2019, 6:58 AM
Shekhar Sharma
Shekhar Sharma - avatar
0
Suppose my file in name hi.pdf In file some line like "my name is Shekhar " is present So when I coding like f=("hi.pdf") print (f.read ()) In out put I get error why? Not get pdf file which one "my name is shekha"
1st Sep 2019, 7:12 AM
Shekhar Sharma
Shekhar Sharma - avatar