Skip to content

Commit 37f1776

Browse files
committed
solution to first question
1 parent 3c58e97 commit 37f1776

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- coding: utf-8 -*-
2+
import random
3+
4+
5+
# 题目中对于激活码的格式并没有要求,目前采取这种策略
6+
def generate_copoun():
7+
copoun = []
8+
copoun.append(str(random.randint(0, 200)))
9+
return copoun

0 commit comments

Comments
 (0)