step 1: From serach bar search for anaconda prompt and Run it as administrator
step 2: In anaconda Prompt type this command: conda install tensorflow
step 3: Go to python shell after installation
>>> import tensorflow as tf
>>> x=tf.Variable(0.5)
>>> print(x)
<tf.Variable 'Variable:0' shape=() dtype=float32, numpy=0.5>

