Say I have a map such as:
{0='.', 1='.', 2='.', 3='.', 4='.', 5='.', 6='G'}
How do I find the key which matches the 'G' value? Say I wanted to print the key for which 'G' is equal to. All help appreciated
Say I have a map such as:
{0='.', 1='.', 2='.', 3='.', 4='.', 5='.', 6='G'}
How do I find the key which matches the 'G' value? Say I wanted to print the key for which 'G' is equal to. All help appreciated