【LeetCode】【数组】题号:*520. 检测大写字母2024-01-19 22:20:16every blog every motto: You will never know unless you try 0. 前言 生活好难,再坚持坚持! 1. 字符串 1.1 题目 1.2 class Solution: def detectCapitalUse(self, word: str) -> bool: return word.islower() or word.isupper() or word.istitle() 1.3 上一篇:1068 万绿丛中一点红 (20 分)测试点3、5下一篇:P5837 [USACO19DEC]Milk Pumping G (单源最短路,dijkstra)