Created
August 16, 2020 08:33
-
-
Save sumon328/6d5db188afcb75a82079ffbc2b1f110f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("\n___________Welcome to Divisor Finder___________") | |
__author__ = 'jeffreyhunt' | |
num = int(input("Please choose a number to divide: ")) | |
listRange = list(range(1,num+1)) | |
divisorList = [] | |
for number in listRange: | |
if num % number == 0: | |
divisorList.append(number) | |
print(divisorList) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment