Does the start equal the end? The Task
In this challenge, your task is to write a program or function which takes in a String and outputs a truthy or falsey value based on whether the first character and the last character of the input String are equal.
Input
You may take input in any way reasonable way. However, assuming that the input is  present in a predefined variable is not allowed. Reading from a file, console, command line, input field etc., or taking input as a function argument is allowed.
Output
You may output in any reasonable format, except for assigning the result to a variable. Writing to a file, console, command line, modal box, function return statements etc. is allowed.
Additional Rules

The input can be empty String as well, for which you should return a falsey value.

Single-Char Input Strings should have a truthy result.

Your program should be case-sensitive. helloH should output a falsey value.

You can only have a single Truthy value and a single Falsey value. For example, outputting false for an Input String and 0 for another input String  as Falsey values is not allowed.

Standard loopholes are not allowed.


Test Cases
Input    -&gt;    Output

&quot;10h01&quot;        Truthy
&quot;Nothing&quot;      Falsey
&quot;Acccca&quot;       Falsey
&quot;wow!&quot;         Falsey
&quot;wow&quot;          Truthy
&quot;H&quot;            Truthy
&quot;&quot;             Falsey

This is code-golf, so the shortest code in bytes wins!
Python 3, 23 bytes



s=input()
s[0]!=s[-1]&lt;e


Output is via exit code, so 0 (success) is truthy and 1 (failure) is falsy. If this is acceptable, a byte can be saved.

Try it online!

How it works

First of all, if s is an empty string, s[0] will raise an IndexError, causing the program to fail.

For non-empty s, if the first and last characters are equal, s[0]!=s[-1] will evaluate to False, so the program exits cleanly and immediately.

Finally, if the characters are different, s[0]!=s[-1] will evaluate to True, causing the compairson s[-1]&lt;e to be performed. Since e is undefined, that raises a NameError.

If backwards compatibility with Python 2 is not desired,

s[0]!=s[-1]&lt;3


works as well, since comparing a string with an integer raises a TypeError.