The conversation between human and AI assistant.
[|Human|] Generate the missing code for the following program.
[|AI|] def double(x: int):
  # missing code here
  return x * 2
[|Human|] 
Generate the missing code for the following program.