title: OverflowError: repeated string is too long
body: <p>I'm writing a python script for when I'm using my radio. When trying to calculate wavelength, I get an OverflowError. Is it possible to overcome this problem?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>while 1:
  cmd = input("Enter command: ")
  if cmd == 'wavelength':
      freq = input("Enter frequency (mHz): ") * 10**6 
      wl = freq * 299792458
      print (wl)
  </code></pre>
  
  <p>Here is the output:</p>
  
  <pre><code>Enter command: wavelength
  Enter frequency (mHz): 33
  Traceback (most recent call last):
    File "C:/Users/Ross/Desktop/Programming/Python/Radio/main.py", line 5, in &lt;module&gt;
      wl = freq * 299792458
  OverflowError: repeated string is too long        
  </code></pre>