The "Do I Need a New Cube" flowchart

Updated version of the flowchart based on Speedsolving.com comments:

seconddraftlol-jpg.7972
 

Attachments

  • seconddraftlol.jpg
    seconddraftlol.jpg
    283.4 KB · Views: 35
Here's some Python code:

Code:
def new_cube():
    x = str(input("Do you have a Rubik's brand cube (or worse) as your main (y/n)? "))
    if x.lower() == "y":
        return "Get a new cube."
    else:
        x = str(input("Do you have the money for a new cube (y/n)? "))
        if x.lower() == "y":
            x = str(input("Do you want a new cube (y/n)? "))
            if x.lower() == "y":
                return "Get a new cube."
    return "Don't get a new cube."
       
print(new_cube())
 
Here's some Python code:

Code:
def new_cube():
    x = str(input("Do you have a Rubik's brand cube (or worse) as your main (y/n)? "))
    if x.lower() == "y":
        return "Get a new cube."
    else:
        x = str(input("Do you have the money for a new cube (y/n)? "))
        if x.lower() == "y":
            x = str(input("Do you want a new cube (y/n)? "))
            if x.lower() == "y":
                return "Get a new cube."
    return "Don't get a new cube."
      
print(new_cube())

Haha! Thanks for the code, I will include it in the next spotlight video for the flowchart coming soon.
 
Back
Top