Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create main.py #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Create main.py #2

wants to merge 3 commits into from

Conversation

Tuda1921
Copy link
Collaborator

No description provided.

Copy link
Member

@HocJ2me HocJ2me left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review 1

main.py Outdated
@@ -0,0 +1,16 @@
def is_prime(n):
for i in range(2,n):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sao không cho chạy đến sqrt(n)

n = int(input("nhap n: "))
print("n =",n)
print("-------------")
print(is_prime(n))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Viết thêm lệnh if để kiểm tra snt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants