Error in sending sms ( invalid syntax )

the except must be straight to try please remove the spaces so the the except is positioned straight below try @mahadikvedant2017

1 Like

i have cleared the space between the except and Exception then also i facing same problem.