0
Can you say output of this function is come as a none?
from math import pi print (pi) print(help('math'))
16 odpowiedzi
+ 1
~ swim ~ thanks🙏
0
You say
from math import pi
print (pi)
help
But only pi is execute not help why
0
~ swim ~ you say like
from math import pi
help(math)
This is not execute 😔
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
0
I go to cause but dont understand
0
Please you tell how how to use open (file.text) with example
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"