These two days __ us think about the cleaning roles of mother and fathers.

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了These two days __ us think about the cleaning roles of mother and fathers.相关的知识,希望对你有一定的参考价值。

A. make B. ask C. take D. require 这题选什么,为什么

从短语的固定用法考虑
make有让某人做,要求的意思make sb do sth
如上述问题

ask sb to do sth
My mom asks Tom to open the door.

take没有要求的意思,排除

require doing sth
The roof requires repairing.
屋顶需要修理了

参考资料:sername

参考技术A 选A. make
其他三个动词后需要接to do形式,并且语义不对。

day1_字符集,流程控制语句

作业1:

  • 输入用户名密码
  • 认证成功后显示欢迎信息
  • 输错三次后锁定

解答:

  流程图:

  技术分享

  代码:

 

 1 #!/usr/bin/env python
 2 # *_* coding:utf-8 *_*
 3 # python learning, keep on!
 4 count=0
 5 while count <3:
 6     username = input(username:)
 7     password = input(password:)
 8     userlock=[]
 9     for i in open(lockuser.txt,r):
10         userlock.append(i.strip(\\n))
11     if username in userlock:
12         print(your username has locked! please contact administrator.)
13         break
14     else:
15         user=[]
16         for j in open(user.txt,r):
17             user.append(j.strip(\\n))
18         up=username+:+password
19         if up in user:
20             print(wellcome +username+ login!!)
21             break
22         else:
23             count+=1
24             print(Invalid username or password, your try +str(count)+ times)
25 else:
26     print(too many time you try ,we locking your username.)
27     usertolock=open(lockuser.txt,a)
28     usertolock.write(username+\\n)
29     usertolock.close()

 

作业二:

  • 三级菜单
  • 可一次选择进入各子菜单
  • 所需新知识点:列表、字典

解答

  流程图

  代码

以上是关于These two days __ us think about the cleaning roles of mother and fathers.的主要内容,如果未能解决你的问题,请参考以下文章

爬虫day 04_01(爬百度页面)

在Linux下安装Python执行make命令时报错“Failed to build these modules: _ctypes“

求听力原文,these days, it seems as if half the books

数值方法——薄板样条插值(Thin-Plate Spline)

day1:作业 编写登录接口并画出相应的流程图

SP1043GSS1 - Can you answer these queries I