Question
Complete the Python code to check if a string email
matches a simple email pattern (e.g., [email protected]). import re def is_valid_email(email): Â Â pattern = r"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$" Â Â _________ # Line to completeSolution
Correct Answer: C (re.fullmatch ensures the *entire* string matches the pattern, which is typically desired for validation like email. re.match only checks from the beginning, and re.search checks anywhere in the string.)
What is a primary condition under RBI guidelines for REs when onboarding non-resident customers with limited KYC documentation?Â
XYZ Ltd. purchases raw materials for ₹5,00,000 and pays transportation charges of ₹50,000 and GST of ₹90,000. The GST is recoverable. What amount ...
Where to show Share application money received in excess of issued share capital?
The main object of the audit of the cash book may be ________.
Short-term capital gains arising from the transfer of equity shares in a company or units of an equity-oriented fund or units of a business trust charg...
Material costing Rs. 700 in the erection of the machinery and the wages paid for it amounting to Rs. 400 should be debited to:
Which of the following is NOT a capital budgeting decision?
Short-term capital loss can be set off against:
What is the purpose of performing Due Diligence by banks under KYC norms?
Company A sold machinery having a WDV of ₹ 40 lakh to Company B for ₹ 50 lakh (FV ₹ 50 lakh) and the same machinery was leased back by Company B T...