Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try:
- lel = who.strip()[-3]
- lal = str(lel)
- lol = who.split(lal)[0]
- lal = int(lel)
- st = len(lol)
- whoo = who[st:-1]
- except ValueError:
- try:
- lel = who.strip()[-2]
- lal = str(lel)
- lol = who.split(lal)[0]
- lal = int(lel)
- st = len(lol)
- whoo = who[st:-1]
- except ValueError:
- lel = who.strip()[-1]
- lal = str(lel)
- lol = who.split(lal)[0]
- lal = int(lel)
- st = len(lol)
- whoo = who[st:-1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement