Python How To Get Dropdown Selected Value And Not Text While

Python How To Get Dropdown Selected Value And Not Text While