HomeBasic programming Prime Number ABhishek Dubey June 04, 2020 0 Comments Facebook Twitter Solution n=int(input()) for x in range(2,n): for y in range (2,x): if x%y==0: break; else : print(x,end=' ') if you have any problem in this code, take a screen shot and contact with Rishabh Chaubey. Tags Basic programming Hackerearth Python Facebook Twitter
Post a Comment