Skip to content
Sign upLog in

Whats your name

Profile icon
Pepper100

A code that uses print and if then else with elifs. Also my first code. Here's the link>https://repl.it/@Pepper100/Whats-your-name

You are viewing a single comment. View All
Profile icon
lukaswoodruff

if you want the names to always be lowercase no matter what then do this if name.lower() == "will" whatever code you wish to add!

Profile icon
Pepper100

@lukaswoodruff
: Handy tip. but if the person entered it in lowercase how would I get the code to say it with a cap at the start? Send me a repl link if you have an idea.

Profile icon
[deleted]

@lukaswoodruff
: No matter what you enter in the input you can always make the name capital in the return statement!

PS I am lukaswoodruff