Python allow to concatenate strings by '+',but here,your p is an integer.
So,to solve it,you can use either of these:
1.print 'Is your secret number " + str(p) + "
2.print 'Is your secret number %d?"%p
(for multiple integers,you can '%d %d %d'%(num1,num2,num3)
3.print 'Is your secret number {0}?".format(p)
I personally like the second one best.It's more of c style,doesn't it?