Rohit Kumar

Generation

generate functionWed, 23 Nov 2022

Android full control

class Android: def __init__(self, name, model, color, battery, os): self.name = name self.model = model self.color = color self.battery = battery self.os = os def full_name(self): return f"{self.name} {self.model} {self.os}" phone1 = Android("Google", "Pixel", "Black", "123", "10.0") print(phone1.full_name())

Want to kickstart your project?Use the new AI Studio to create your code