input: Write a python function to automate mouse and keyboard actions using pyautogui.
  assert automate_actions() == "Actions completed"
output: def automate_actions():
      import pyautogui
      import time
  
      # Example actions: Moving the mouse, clicking, typing text
      pyautogui.moveTo(100, 100, duration=1)
      pyautogui.click()
      pyautogui.typewrite("Hello, World!", interval=0.1)
      pyautogui.press('enter')
  
      return "Actions completed"