Being a Good Boy in Spring Festival Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3312 Accepted Submission(s): 1939 Problem Description
Being a Good Boy in Spring Festival Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3055 Accepted Submission(s): 1771 Problem Descript
Factories declare a set of attributes used to instantiate a Python object. The class of the object must be defined in the model field of a class Meta attribute. 官方文档地址: https://factoryboy.readthedocs
题目21:倒叙取出每一个单词的第一个字母,I am a good boy! 方法1: #encoding=utf-8s="I am a good boy"result=[]for i in s.split()[::-1]:result.append(i[0])print(result) 方法2: #encoding=utf-8s="I am a good boy"s=s