Skip to content

Instantly share code, notes, and snippets.

@kennethreitz
Last active December 10, 2023 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kennethreitz/01926dc7e4f67e9fde7a4839a38a402e to your computer and use it in GitHub Desktop.
Save kennethreitz/01926dc7e4f67e9fde7a4839a38a402e to your computer and use it in GitHub Desktop.
import random
def spiritual_gifts():
# Define the community of believers
believers = []
# Initialize the gifts of the Spirit
possible_gifts = ["Prophecy", "Serving", "Teaching", "Exhortation", "Giving", "Leadership", "Mercy"]
gifts_of_spirit = {}
# Populate the community with believers
for member in range(1, 101):
believers.append(f'Believer {member}')
# Distribute spiritual gifts among believers
for believer in believers:
gift = random.choice(possible_gifts)
gifts_of_spirit[believer] = gift
# Emphasize the unity of believers
body_of_believers = len(believers)
# Highlight the message
print(f'In our community of {body_of_believers} believers, each is bestowed with a gift of the Spirit:')
for believer, gift in gifts_of_spirit.items():
print(f'- {believer}: {gift}')
if __name__ == "__main__":
spiritual_gifts()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment