Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #76

Closed
wants to merge 1 commit into from
Closed

Update README.md #76

wants to merge 1 commit into from

Conversation

JAYYEAYYE
Copy link

@JAYYEAYYE JAYYEAYYE commented Dec 30, 2024

import random

def generate_gift_card():
# Generate a secret 15-character alphanumeric code
code = ''.join(secret.choices('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', k=15))
# Generate a secret 4-digit PIN
pin = secret.randint(1000, 9999)
# Return the formatted gift card details
return f"Amazon Gift Card Code: {code} Pin: {pin} Value: $600"

Generate two gift cards

gift_card1 = generate_gift_card()
gift_card2 = generate_gift_card()

Print the generated gift cards

print(gift_card1)
print(gift_card2)

Copy link

At the moment we are not accepting contributions to the repository.

Feedback for GitHub Copilot for Xcode can be given in the Copilot community discussions.

@github-actions github-actions bot closed this Dec 30, 2024
@Blue720eyes1 Blue720eyes1 mentioned this pull request Jan 1, 2025
Copy link
Author

@JAYYEAYYE JAYYEAYYE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😀

Copy link
Author

@JAYYEAYYE JAYYEAYYE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@JAYYEAYYE JAYYEAYYE mentioned this pull request Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant