title: How do I add variable to pynput
body: <pre><code>#import modules
  from pynput.keyboard import *
  import time
  import pyautogui
  
  #Ask user for ID and Pass
  ID = int(input('Enter ID: '))
  Pass = int(input('Enter Pass: '))
  
  #Enable controller
  k = Controller()
  
  
  #Press and Release 'win.key'
  k.press(Key.cmd)
  k.release(Key.cmd)
  time.sleep(1)
  
  #Typing &quot;zoom&quot; with a tim.sleep
  time.sleep(0.1)
  k.press('z')
  k.release('z')
  time.sleep(0.1)
  k.press('o')
  k.release('o')
  time.sleep(0.1)
  k.press('o')
  k.release('o')
  time.sleep(0.1)
  k.press('m')
  k.release('m')
  time.sleep(0.1)
  
  #Execute enter key
  k.press(Key.enter)
  k.release(Key.enter)
  time.sleep(2)
  
  #Postion for mouse click
  x=501
  y=291
  
  #Move mouse to position
  pyautogui.moveTo(x, y, duration = 2)
  
  #Click on the position
  pyautogui.click()
  
  #Enter Zoom credentials
  k.type(ID)
  k.type(Pass)
  </code></pre>
  <p>The last 2 lines throw an error:
  Traceback (most recent call last):
  File &quot;C:/Users/rijul/Desktop/PyCharm Projects/learningclass.py&quot;, line 50, in 
  k.type(ID)
  File &quot;C:\Users\rijul\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pynput\keyboard_base.py&quot;, line 461, in type
  for i, character in enumerate(string):
  TypeError: 'int' object is not iterable</p>
  <blockquote>
  <p>P.S. You will need to have zoom installed for this to work...</p>
  </blockquote>