首页 > 其他 > 详细

考试系统

时间:2017-05-27 09:13:59      阅读:296      评论:0      收藏:0      [点我收藏+]
l1 = []
d1 = {"1":{"题目":None,"选项":None,"答案":None}}
with open("e1",encoding="utf-8") as f:

    for line in f:
        l1.append(line)
    # print(l1,type(l1))
s = "".join(l1)
# print(s)
l2 = s.split("*")
d1["1"]["题目"] = l2[0]
d1["1"]["选项"] = l2[1]
d1["1"]["答案"] = l2[2]
print(d1["1"]["题目"])
print(d1["1"]["选项"])
option = input("you choice:")
if option == d1["1"]["答案"].strip():
    print("Good")
else:
    print("Failed")

 

题目

 An administrator wants to provide users restricted access. The users should only be able to perform the following
tasks:
- Create and consolidate virtual machine snapshots
- Add/Remove virtual disks
- Snapshot Management
Which default role in vCenter Server would meet the administrator‘s requirements for the users?
*
A. Virtual machine user
B. Virtual machine power user
C. Virtual Datacenter administrator
D. VMware Consolidated Backup user
*
BC
==
Which two roles can be modified? (Choose two.)
*
A. Administrator
B. Network Administrator
C. Datastore Consumer
D. Read-Only
*
BC

 

考试系统

原文:http://www.cnblogs.com/bainianminguo/p/6911252.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!