How do i rectify the error???
Thanks for your question. You are getting an invalid syntax error because you are using python 2 instead of python 3.
To use Python 3 on Cloudxlab web console
Run the following commands
After running these two commands you should be able to run your program in Python3.
Hope this solves your issue.
Its is working fine thanks
Please ignore its working fine