Bu muammoni yechish uchun ko'proq samarali usullar mavjud bo'lsa-da, masalan, erastotenes siftasi, quyidagi misol bo'lishi mumkin: def es_primo ((n): for i in range ((2,n): if (n%i) == 0: return False return True numero = N while numero!= 0: print ("bir sonni tanlang") numero = int ((input)) print ("son primo" if es_primo ((numero) else "son primo emas")
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence