I had the same problem. I can't tell you why. I can just tell you how I fixed it.After you download and unzip the boa files go into the boa folder (On a Mac this could be: /Users/your_user_name/Downloads/boa-constructor-0.6.1).Then: "grep" for every file containing NO_3D (or use whatever you wan...【阅读全文】
# -*- coding: UTF-8 -*-'''【程序94】题目:时间函数举例4,一个猜数游戏,判断一个人反应快慢。(版主初学时编的)1.程序分析:2.程序源代码:'''if __name__ == '__main__': import time import random play_it = input('do you want to play it.(...【阅读全文】
# -*- coding: UTF-8 -*-'''【程序78】题目:找到年龄最大的人,并输出。请找出程序中有什么问题。1.程序分析:2.程序源代码'''if __name__ == '__main__': person = {"li":18,"zhang":20,"sun":22,"wang":50,} m = 'li' for key in person.keys(): ...【阅读全文】
# -*- coding: UTF-8 -*-'''题目:输入数组,最大的与第一个元素交换,最小的与最后一个元素交换,输出数组。1.程序分析: 2.程序源代码:'''def inp(array): for i in range(4): array.append(int(input('input a number:\n')))p = 0def max_min(array):&n...【阅读全文】