<human>:  get value from enum by name.
<bot>:

# Enter the enum
enum_class = enum.Enum("Enum", "A B C")

# Enter the name
name = "A"

# Calling the function
print((get_value_from_enum(enum_class, name)))

#Example Output
# Enum.A

#Remember to inspect code for bugs.