Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The python is installed by default on every Ubuntu so why program in bash?
- Save this code as `grading.py`
- choice = int(raw_input('Please enter your choice: '))
- if 0 < choice < 59:
- print 'F : You done goofed.'
- elif 60 < choice < 69:
- print 'D : She wants it...'
- elif 70 < choice < 79:
- print 'C : Im bored'
- else:
- exit()
- Run `grading.py` with this command:
- python grading.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement