摘要:
leap year: 1. 能被400整除的是闰年 2. 不能被100整除但能被4整除的是闰年 if a year is divisible by 4 and not divisible by 100 or divisible by 400,it is a leap year Given a yea 阅读全文
posted @ 2022-05-10 22:48
7aughing
阅读(55)
评论(0)
推荐(0)
摘要:
python char to int: ord(character) int to char: chr(int_num) Convert a lowercase character to uppercase. Example 1: Input: 'a' Output: 'A' Example 2: 阅读全文
posted @ 2022-05-10 22:20
7aughing
阅读(38)
评论(0)
推荐(0)
摘要:
class Solution: """ @param a: An integer @param b: An integer @return: The sum of a and b """ def aplusb(self, a, b): # write your code here if b == 0 阅读全文
posted @ 2022-05-10 21:57
7aughing
阅读(39)
评论(0)
推荐(0)

浙公网安备 33010602011771号