-4

Please tell me what's wrong with this code enter image description here

Please tell me what's wrong with this code

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
  • 5
    `startswith()` - Note the extra 's'. See [the docs here](https://docs.python.org/3/library/stdtypes.html#str.startswith) – G. Anderson Mar 08 '23 at 20:54
  • [Please do not upload images of code/data/errors.](//meta.stackoverflow.com/q/285551) – Ignatius Reilly Mar 08 '23 at 20:56
  • Please give a [mre], as text, when posting on SO. I'd recommend taking the [tour] and reading [ask]. – jonrsharpe Mar 08 '23 at 20:56
  • 1
    The reason SO doesn't allow you to make short questions is to force you to elaborate on the problem. Like explaining what are you trying to do, what's the expected output, what's happening (_is wrong_ is **not** an actual question). So, please don't try to bypass it by duplicating your question. – Ignatius Reilly Mar 08 '23 at 20:58
  • you can use the ```in operetor```. Take a look at this: https://stackoverflow.com/questions/3437059/does-python-have-a-string-contains-substring-method – seriously Mar 08 '23 at 20:59
  • or split the string and check if ```https://``` exists. – seriously Mar 08 '23 at 21:01

1 Answers1

1

You wrote startwith instead of "startswith".

You missed the the "s" after "start"

ozs
  • 3,051
  • 1
  • 10
  • 19