python - "//Print a message" error in pycharm -


this code in pycharm app on linux ubuntu

#1/usr/bin/python  def main(msg):     //print message     print(msg)  main("hello people") 

i keep getting error.

this video course following:

https://www.youtube.com/watch?v=wbp0rb-zjak

at 3:37:00 mark it's supposed refresh, because of error not.

here screenshot of code , error. http://s1227.photobucket.com/user/mrghlover/media/screenshot%20from%202017-09-10%2023-36-52.png.html?sort=3&o=0

it same in video can't figure out.

commenting '//' not allowed in python. use '#' commenting.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -