Update ex11.py

Hello, I'm newbie @py so in try and error mode. I try your lines and get an Error:

File "ex11.py", line 20, in <module> 
num = int(raw_input()) 
meError: name 'raw_input' is not defined