Share your repls and programming experiences

← Back to all posts
A Short Story Part 1 [Game] {200 special}
syflexer (467)

This is a very short game based off of a 50% chance to win and also a huge thank you to every who up voted

Commentshotnewtop
Axrevyn (220)

You should always use .lower() at the end of every input to make everything inputted into it lowercase. This removes any confusion over capitalizing the first letter in the words and everything.
Just remember to change the if/else statements to react only to lowercase strings.

syflexer (467)

@Axrevyn ok i will do that thanks for the suggestion

syflexer (467)

@Axrevyn so how do i use the .lower()

Axrevyn (220)

@syflexer Shall I demonstrate here, or can i get an invite?

syflexer (467)

@Axrevyn Thank you a lot for helping

Axrevyn (220)

So, how to use lower():
It's pretty simple.

This code

#This is a normal input
i = input("Type 'Hello' and press enter")
print(i)

will have an output of:

Hello

But

This code

#A .lower() input
i = input("Type 'Hello' and press enter").lower()
print(i)

will have an output of:

hello
TL;DR:

To use .lower() simply type it behind the input that you want to be lowercased.

thanks
syflexer (467)

@JBYT27 sick i will go and like your posts

syflexer (467)

@JBYT27 your welcome i also liked some of the comments

BobTheTomatoPie (1061)

This is awesome, can't wait for a 300 cycle special!!

syflexer (467)

@BobTheTomatoPie Oh i already made one but its just a python turtle drawing https://repl.it/talk/share/My-300-special-already-lol/37727 mainly because i didn't have time to make anything cool cause we were talking and he upvoted a lot of my comments while we were talking