Guest User

Untitled

a guest
Oct 22nd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1.     notvalid = True
  2.     while notvalid:
  3.         print "Enter 1 - %d to select disk to be used for Gentoo: " % (count-1),
  4.         hdNum = raw_input()
  5.        
  6.         if int(hdNum) >= 1 and int(hdNum) < count:
  7.             notvalid = False
  8.         else:
  9.             print "Invalid input."
Add Comment
Please, Sign In to add comment