Q&A Discussies
Py programs don't run
0 Stemmen
1 AntwoordHow to run program?
2 Stemmen
2 AntwoordenIDE kotlin
0 Stemmen
2 Antwoordenuse of \n
1 Stem
3 AntwoordenCould you please explain why?
4 Stemmen
4 AntwoordenHow to run program
0 Stemmen
2 Antwoordennotepad++ --- python
0 Stemmen
1 AntwoordText editor
0 Stemmen
4 Antwoordenwhy when i use editor for that code didn't print the result automatically and i shoud insert print function first
the code is:
float (insert('enter a number: ')) + float (insert(' enter another number: '))
when i use this code in IDLE the program prints the result automatically
0 Stemmen
3 AntwoordenHaha I'm getting better
0 Stemmen
2 AntwoordenPython Program Errors
1 Stem
1 AntwoordHey there,
I don't know why, but when I import tkinter on IDLE like this:
from tkinter import *
And I say:
window = Tk()
Even known I use python 3.2.5, which should be able to use Tkinter, the python shell raises a ValueError that says that Tk() is not defined. I am very sure I use python 3.2.5 and tutorials from the Python Foundation say that is what I have to do. But it still doesn't work.
Does anyone have an idea of how to solve this problem? Thank you!
0 Stemmen
3 AntwoordenPopulair vandaag
Pointers cpp
2 Votes
Is pro worth the money ?
1 Votes
Drawing images in java
2 Votes
Coding for Cybersecurity
0 Votes