StartupCo / app.py
JayKen's picture
Create app.py
5f3594d
Raw
History Blame Contribute Delete
4.88 kB
import streamlit as st
#
zero = ["Unlikely", "No", "Market is not big not growing", "No, anyone can copy it easily",
"We don't have it and will be hard to get it"]
one = ["Yes, If the product comes out perfect", "No",
"Yes, Users can be found and paid marketing will probably work",
"Unsure of Market Size and growth",
"We have a Head start",
"It will be possible to get the resources to build this"]
two = [ "Yes, there is atleast 50/50 chance", "Yes, Not a viral product but will have some word of mouth growth",
"Market is either Big or Growing", "It will take long time to copy but its possible",
"We have most of what is needed and can probably get the rest"]
three = ["Yes, for sure", "Yes, the product is viral in its nature and it will find users",
"Market is Big and Growing", "Yes, it is very hard to copy",
"Have everything and ready to go"]
# Define the quiz questions and answers
quiz_questions = {
"How likely is it that you can build a product that is 10 times better than the existing way of doing things?": ["Unlikely",
"Yes, If the product comes out perfect",
"Yes, there is atleast 50/50 chance",
"Yes, for sure"],
"Can you Find and Market to the users of this product?": ["No",
"Yes, Users can be found and paid marketing will probably work",
"Yes, Not a viral product but will have some word of mouth growth",
"Yes, the product is viral in its nature and it will find users"],
"Is the market big and growing?": ["Market is not big not growing",
"Unsure of Market Size and growth",
"Market is either Big or Growing",
"Market is Big and Growing"],
"When the product gets traction will the product have unique features that are hard to copy?": ["No, anyone can copy it easily",
"We have a Head start",
"It will take long time to copy but its possible",
"Yes, it is very hard to copy"],
"Can you get the team, knowledge and capital to build this product?": ["We don't have it and will be hard to get it",
"It will be possible to get the resources to build this",
"We have most of what is needed and can probably get the rest",
"Have everything and ready to go"]
}
# Define the correct answers
correct_answers = ["0", "1", "2", "3", "4"]
# Set up the Streamlit app
st.title("5 Steps to Evaluate your Startup Idea💡")
st.write("1.Product - 2.Acquisition - 3.Market - 4.Defendability - 5.Buildability")
# Create an empty list to store user's answers
user_answers = []
# Loop through the quiz questions and display them with radio buttons
for i, (question, options) in enumerate(quiz_questions.items()):
st.write(f"{i + 1}. {question}")
user_answer = st.radio("", options)
user_answers.append(user_answer)
# Display the submit button and check the user's answers
submit_button = st.button("Submit Answers")
if submit_button:
score = 1
for i, user_answer in enumerate(user_answers):
if user_answer in zero:
score *= 0
elif user_answer in one:
score *= 1
elif user_answer in two:
score *= 2
elif user_answer in three:
score *= 3
st.write(f"**Your Score is {score}** ")
st.write("-> **Under 10** - (Not good idea to pursue will be an uphill battle)")
st.write("-> **10-20** - Be Carefull (Will still require improvemnts)")
st.write("-> **Over 20** - Probably Ok (Higher the better)")
st.write("-> **+100** - Fantastic Idea but are rare")
st.write("_Tip_: Try to optimise or improvisee your idea to see if you can reach higher score")
st.write("Some Known companies: \nFacebook - 162, Uber - 24, WeWork - 6, DoorDash - 18")