Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- notvalid = True
- while notvalid:
- print "Enter 1 - %d to select disk to be used for Gentoo: " % (count-1),
- hdNum = raw_input()
- if int(hdNum) >= 1 and int(hdNum) < count:
- notvalid = False
- else:
- print "Invalid input."
Add Comment
Please, Sign In to add comment