I get an error when I try
mkdir python && cd python && echo python > index.py
in my VS code terminal. This is the tutorial I am following.

>Solution :
could you please check your PowerShell version using the following command
$PSVersionTable.PSVersion
As far I know, one of the new features of Powershell 7.0 is Pipeline chain operators: && and ||
so this should work only on powershell 7