Skip to content

Instantly share code, notes, and snippets.

@BlendyDev
Created April 20, 2023 23:13
Show Gist options
  • Select an option

  • Save BlendyDev/230043f10987ade5ac6bfd57b4365701 to your computer and use it in GitHub Desktop.

Select an option

Save BlendyDev/230043f10987ade5ac6bfd57b4365701 to your computer and use it in GitHub Desktop.
rod1 = int(input("rod 1 DV: "))
rod2 = int(input("rod 2 DV: "))
print ("rod1 [" + str(64-rod1) + "/64], combine with DV " + str(68-rod1) + "[" + str(rod1-4) + "/64]\n")
print ("rod2 [" + str(64-rod2) + "/64], combine with DV " + str(68-rod2) + "[" + str(rod2-4) + "/64]\n")
print ("combination of rods gives DV " +str(rod1+rod2-67) + "[" + str(131-rod1-rod2) + "/64], combine with DV " + str(135-rod1-rod2) + "[" + str(rod1+rod2-71) + "/64]")
# bad code ik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment