Puzzle | Minimum distance for Lizard | Python3 program to find minimum distance to be travelled by lizard ; side of cube ; understand from diagram ; understand from diagram ; minimum distance
import math NEW_LINE if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT a = 5 NEW_LINE AC = a NEW_LINE CE = 2 * a NEW_LINE shortestDistace = math . sqrt ( AC * AC + CE * CE ) NEW_LINE print ( shortestDistace ) NEW_LINE DEDENT