Is this correct grammar?

“Yes,” Lucy anxiously whispers, fingers tapping by her side. “Yes, it is.”

Yes, perfect!

nah maen das two classe of u mabe u shuld take lessuns frum me

Yes, the grammar in the sentence is correct. The sentence follows the basic structure of a dialogue, with the words spoken by Lucy enclosed within quotation marks. The dialogue tag "anxiously whispers" describes how Lucy is speaking, and it is separated from the dialogue itself with a comma. Finally, the sentence ends with a period inside the closing quotation mark, indicating the completion of the dialogue.