m = float(input("number 1")) n = float(input("number 2")) i = 0 for i in range(m, n+1): i += 1 for i in range(n, m+1): i += 1
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter