get_pitch()Description#This is a getter function that gets the value of the pitch variable.Syntax#Python: get_pitch()Parameters#NoneReturns#The power of the pitch variable (int)Example Code#Python##Python codeimport CoDrone_mini drone = CoDrone_mini.CoDrone()drone.pair() # Print current pitch with getter functionprint("Current pitch : ", drone.get_pitch())drone.close()Copy