Which command should the student use to create an object with one attribute being a valid URL?
A student is learning Python using the interactive interpreter mode. The student issues these commands: >>> class Url(): ... def __init__(self, host, prot): ... self.host = host ... self.prot = prot ... self.url = self.prot…