class Favcar: # creating a class @staticmethod # label used to depict static function being created def main(): # creating a static function carbrand = "Range Rover" carmodel = "EVOQUE" carpower = 247 print("Car Brand : " + carbrand) print("Car Model : " + carmodel) print("Power of the Car : " + str(carpower)) Favcar.main() # calling