Last active
January 16, 2019 22:36
-
-
Save djowinz/18a2b2ffcf6b42b1d3109c54de203c00 to your computer and use it in GitHub Desktop.
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
def suggest(product_idea): | |
return product_idea + "intaor" | |
try: | |
product_idea = str(input("What is your product idea? ")) | |
if len(product_idea) <= 3: | |
raise ValueError("Your product idea must be more than three characters in length!") | |
else: | |
print("Your product idea is: {}".format(product_idea + "inator")) | |
except ValueError as err: | |
print("Oh no! Your idea isn't more than three characters long! Try Again!~) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment