Created
April 13, 2023 10:50
-
-
Save angelabauer/f8adb5c25334a04d40459f3397e314e2 to your computer and use it in GitHub Desktop.
Solution for main.py for the Flight Club
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
import sheety | |
print("Welcome to John's Flight Club.\n \ | |
We find the best flight deals and email them to you.") | |
first_name = input("What is your first name? ").title() | |
last_name = input("What is your last name? ").title() | |
email1 = "email1" | |
email2 = "email2" | |
while email1 != email2: | |
email1 = input("What is your email? ") | |
if email1.lower() == "quit" \ | |
or email1.lower() == "exit": | |
exit() | |
email2 = input("Please verify your email : ") | |
if email2.lower() == "quit" \ | |
or email2.lower() == "exit": | |
exit() | |
print("OK. You're in the club!") | |
sheety.post_new_row(first_name, last_name, email1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can i share my replit code to users so that they can run it without getting the source code in their phone browser with a simple link like this:
https://user-images.githubusercontent.com/129924389/233802688-b9b1f696-e12f-464e-9a56-d6e7e26977c8.png