def custom_message(msg): print (f"Custom:{msg}") using this function i want to print only the ltp value. please let me know how to print only the ltp value in this function.

def custom_message(msg):
print (f"Custom:{msg}")

using this function i want to print only the ltp value. please let me know how to print only the ltp value in this function.

Hey Pratik,
Try this,

print(msg[0][‘ltp’])