Kindly help me to write this code inPython:
#Write a function called get_integer that takes as inputone
#variable, my_var. If my_var can be converted to an integer,
#do so and return that integer. If my_var cannot be converted
#to an integer, return a message that says, “Cannot convert!”
#
#For example, for “5” as the value of my_var, get_integerwould
#return the integer 5. If the value of my_var is the string
#”Boggle.”, then get_integer would return a string with the
#value “Cannot convert!”
#
#Do not use any conditionals or the type() function.
#Write your function here!
#Below are some lines of code that will test yourfunction.
#You can change the value of the
PayPal Gateway not configured
PayPal Gateway not configured