Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by adenn

  1. A

    Python for else loop

    Hello today i wanna share about for ...else loop: example: finding prime numbers ans = int(input("number:")) if ans >1: for i in range(2,ans): if ans%i==0: print(f'{ans} is not a prime number') break else: print(f'{ans} is a prime number.') else...
Back
Top Bottom