title: Can't print the sum of two integers in Python 3
body: <p>I have the following code for Python training:</p>
  
  <pre><code>import sys
  # Declare second integer, double, and String variables.
  i=12
  d=4.0
  s="HackerRank"
  
  # Read and save an integer, double, and String to your variables.
  x=input("enter integer x:")
  y=input("enter double y:")
  z=input("enter string z:")
  # Print the sum of both integer variables on a new line.
  print(i+x)
  # Print the sum of the double variables on a new line.
  print(y+d)
  # Concatenate and print the String variables on a new line
  print(s+z)
  # The 's' variable above should be printed first.
  </code></pre>
  
  <p>What I want to achieve is the following:</p>
  
  <blockquote>
    <p>Print the sum of <em>i</em> plus your int variable on a new line. Print the sum
    of <em>d</em> plus your double variable to a scale of one decimal place on a
    new line. Concatenate <em>s</em> with the string you read as input and print
    the result on a new line.</p>
  </blockquote>
  
  <p>When I run my code, I got this error:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):   File "C:...\lesson2.py", line
    12, in 
        print(i+x) TypeError: unsupported operand type(s) for +: 'int' and 'str'</p>
  </blockquote>
  
  <p>Can you help please?</p>
  
  <p><strong>EDIT:</strong>
  I read all the comment. I get error when adding two double types. I tried double casting but it does not work:</p>
  
  <pre><code>import sys
  # Declare second integer, double, and String variables.
  i=12
  d=4.0
  s="HackerRank"
  
  # Read and save an integer, double, and String to your variables.
  x=input("enter integer x:")
  y=input("enter double y:")
  z=input("enter string z:")
  # Print the sum of both integer variables on a new line.
  print(i+int(x))
  # Print the sum of the double variables on a new line.
  print(y+double(d))
  # Concatenate and print the String variables on a new line
  print(s+z)
  # The 's' variable above should be printed first.
  </code></pre>
  
  <p>The error is:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):   File "C:...\lesson2.py", line
    14, in 
        print(y+double(d)) NameError: name 'double' is not defined</p>
  </blockquote>