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

You are viewing a single comment. View All
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