☰ Contents · Computing

Graphical interface: tkinter

Lessons 53–54 · 2 lessons · M. R. Fayziyeva, D. M. Sayfurov, N. S. Xaytullayeva. Informatics and Information Technologies, Grade 9. “Nashriyot uyi Tasvir”, Tashkent, 2020
Answers are for parents and teachers.
1
Put a label and a button in a window: when the button is pressed the label should change to “Bosildi”. Write the code.
2
Write the main line of a function that finds the circle area (3.14 * r * r) from the radius in an Entry: r = int(maydon.get()); what comes next?
3
If the button in the die window is pressed 3 times, how many numbers stay in the label?
4
Why should a GUI app not ask for personal data (a password, an address)?