字符串切片操作——查找替换3或5的倍数

[str("java"[i%3*4:]+"python"[i%5*6:] or i) for i in range(1,15)]
原文地址:https://www.cnblogs.com/miaoweiye/p/12604830.html