for x in range (1): from random import randint x = randint(1,51) print('One random number between 1 and 50: ', x) for y in range (1): from random import randint y = randint(2,6) print('One random number between 2 and 5: ', y) print("X power y is: ", x**y)
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