a =input()
print(a)
Now if the user enters:
a =6
6
The output displayed should be:
a =
6
a =input()
print(a)
Now if the user enters:
a =6
6
The output displayed should be:
a =
6
You should use getpass.getpass(). Here's an example I wrote in Python3.9.2 64-Bit
from getpass import getpass
a = getpass("a = ")
print(a)