World's Best AI Learning Platform with profoundly Demanding Certification Programs
Designed by IITians, only for AI Learners.
class vehicle: def__init__(self,max_speed,mileage): self.max_speed=max_speed self.mileage= mileage p1=vehicle(105,55) print(p1.max_speed) print(p1.mileage)
Cell In , line 2 def__init__(self,max_speed,mileage): ^ SyntaxError: invalid syntax
Please help me sir
Def space __init
check Space between def and __init
Running random forest algorithm with one variable