Skip to content

Instantly share code, notes, and snippets.

@angelabauer
Created April 13, 2023 10:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save angelabauer/f8adb5c25334a04d40459f3397e314e2 to your computer and use it in GitHub Desktop.
Save angelabauer/f8adb5c25334a04d40459f3397e314e2 to your computer and use it in GitHub Desktop.
Solution for main.py for the Flight Club
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)
@dibyansh01
Copy link

dibyansh01 commented Apr 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment