how can i make this print ? https://code.sololearn.com/cBH1jtdxpjsJ/?ref=app
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. Corrected: https://code.sololearn.com/cL41joY87XXA/?ref=app
You can replace the first line with this: gender = input()
My pleasure :)
@shamima thanks ^^
@Shimaa, I don't understand why you don't want the user to know what they are supposed to type.
@shamima thanks but how I can hide the " enter ur gender " at the output ? I just want to put the word "male " and it prints A only
@tusiime u mean why I didn't write it like that gender = input ("enter ur gender ":)
@tusiime 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 ?
Python — File Handling
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
Help me solve this (using loop)
What is wrong? Error on test.
Help me wiht python
Question - Java: Pyramid layers