wumac
p = 0
s = \'How can i get there?\'
for i in s:
    
    if i == \'P\'or i == \'p\':
        p = p + 1 
    else:
        continue
    
if p != 0:
    print(\'\',p,\'\')
else:
    print(\'\')
    

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
相关资源
相似解决方案