Skip to content

Instantly share code, notes, and snippets.

@djowinz
Last active January 16, 2019 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djowinz/18a2b2ffcf6b42b1d3109c54de203c00 to your computer and use it in GitHub Desktop.
Save djowinz/18a2b2ffcf6b42b1d3109c54de203c00 to your computer and use it in GitHub Desktop.
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