Закінчити даний код:

from tkinter import *

def button_click():
a = int(str_var1.get())
selection = "Число просте"

for i in range(2, a-1):
if (a % i == 0):
selection = "Число не просте"

label1.config(text = selection)
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.