1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
''' @Author: Jedi.XL @Email: xiangyangan@gmail.com @Created Time: 10:02:05 AM, Aug 31, 2019 @Github: https://github.com/jediL @Website:www.tundrazone.com ------------ 苔原带 ------------ ''' num = 123456 # check the prefix match if str(num).startswith("123"): print("Bingo") else: pritn("Opsss") |