Print type of variable in python3.5 on django 1.8
<p>I am having a hard time of determining the type of my variable since I am used on python2 and have just migrated to python3</p>

<pre><code>from django.http import HttpResponse

def myview(request):
    x = "Name"
    print (x)
    print type(x)
    return HttpResponse("Example output")
</code></pre>

<p>This code will throw an error because of print type(x). However if you changed that syntax line  to type(x). The type does not return an output on the runserver of django.</p>