-
-
Save TheMuellenator/d371250741a7cadbf250574fc50b7761 to your computer and use it in GitHub Desktop.
Day 40 L354 - Solution for Customer Acquisition 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 Angela'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) |
for me replit says that sheety is not an actual thing i can import
you have to create another python file first, it should be called sheety.py
in that file you should have the code for posting a new row to your sheet in sheety.
the solution is this one, and this code is what should be in your sheety.py file : https://gist.github.com/angelabauer/9ed3a297c0c28bb0821bf7bb55f62684
you should then be able to have import sheety in your main.py work and you can use the command sheety.post_new_row in the solution
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for me replit says that sheety is not an actual thing i can import