zhiwehu / Python-programming-exercises

100+ Python challenging programming exercises
26.98k stars 6.84k forks source link

alternative and easy method for question 1 #139

Open ghost opened 3 years ago

ghost commented 3 years ago

hi. I just want to make the code for question 1 much simpler and easily understandable for beginners

for i in range(2000, 3201):
    if (i%7==0) and (i%5!=0):
      print(i,end=",")

cool?

RohanSardar commented 3 years ago

yes, your one is easier to understand

Varun270 commented 3 years ago

Hi, I am a newbie to open source can anyone tell me whether this issue is fixed or not.

RohanSardar commented 3 years ago

Hi, I am a newbie to open source can anyone tell me whether this issue is fixed or not.

according to me, it's fixed