How to solve YouTube link finder in coach. help me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How to solve YouTube link finder in coach. help me

str = str.replace('/') str = str[-1:] hasEqual = str.find('=') if hasEqual != -1: print(str) else: print(" ...")

9th Jan 2020, 6:16 AM
Vikram Singh
Vikram Singh - avatar
1 Answer
+ 5
@@VikramSingh Try this, though this may not be satisfying. It's based on input observations :) inp = input() print(inp[-11:])
9th Jan 2020, 6:26 AM
Ozair Khan
Ozair Khan - avatar