<human>:  Write me a Python function for writing Javascript for a webpage.
<bot>: Here is a Python function for writing Javascript for a webpage

import json

def write_javascript(*args):
  """
  Write javascript in for webpage.
  """
  return "<script>" + "\n".join(args) + "\n</script>"

# Enter the javascript
javascript = "var a = 1;"

# Calling the function
html = write_javascript(javascript)

# Printing the html
print(html)

#Example Output

# <script>var a = 1;
# </script>

#Remember to inspect code for bugs.