Share your repls and programming experiences

← Back to all posts
Whats your name
Pepper100 (10)

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

Comments
hotnewtop
Pepper100 (10)

I cant believe it got in the newsletter!!

lukaswoodruff (1)

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!

Pepper100 (10)

@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.

[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

Pepper100 (10)

Got an idea. Send some links for repls and challenge me. I can only use the types of code which is in this post.

LardBoi (35)

I can tell you're a beginner, which is great, I like seeing wholesome posts like this.

Pepper100 (10)

@lardboi: Thanks. My cousin who is in year 9 is teaching me JavaScript and I love the lessons. I might consider releasing some of my unfinished repls so everybody can help me with them. What do you think.

[deleted]

@pepper100: i think that is a great idea!

Pepper100 (10)

@kingofpython: Here is the first one. Follow the pattern and finish the code. Also don't forget to add the code for if the person decides to type 'Random'. Please use the caps tip for the 'random' code bit. The person gets asked two sets of questions. I have done the first set but I don't know how to add the randomiser so you will have to do that. Its a sort of thing that is like a chatbox fortune teller thingy. This is unfinished so it is only accessible though this comment. Now I shall stop babbling on and give you the link. https://repl.it/@Pepper100/Chatbox. if you can't click on it copy and paste it.

LardBoi (35)

@pepper100: I think you should. I prefer helping people with code than seeing finished products.

Pepper100 (10)

@lardboi: Has anybody got the finished repl link for this project that I need help with?