First of all, input values are already saved as String, so you don't need to convert it. And the == should be = while assigning the variable.
I want to put it but when I do
it shows at the output
enter ur gender A
and I want to print only A .
or it just show up becoz of code playground on phone ? and if u i tried it on computer it will show only A ?