def query3():
    print("dealing with query3...........")
    result = query.query3()
    return jsonify(result)
示例#2
0
def query3():
    result = query.query3()
    return jsonify(result)
 query1(0, 0, 0, 1, 10, 30, 0, 10, 30, 1, 5, 20, 0, 0, 0, 0, 3, 5)
 print()
 print('2 2 2 1 1')
 query1(0, 0, 0, 1, 2, 40, 1, 2, 30, 1, 2, 20, 1, 1, 10, 1, 1, 10)
 print()
 print('Red')
 query2("Red")
 print()
 print("Black")
 query2("Black")
 print()
 print("DarkBlue")
 query2("DarkBlue")
 print()
 print("Duke")
 query3("Duke")
 print()
 print("UNC")
 query3("UNC")
 print()
 print("NCSU")
 query3("NCSU")
 print()
 print("NC DarkBlue")
 query4("NC", "DarkBlue")
 print()
 print("GA Green")
 query4("GA", "Green")
 print()
 print("GA Gold")
 query4("GA", "Gold")