Baymax_Me
Baymax_Me
全部文章
分类
题解(14)
归档
标签
去牛客网
登录
/
注册
Baymax_Me的博客
一起学习一起进步一起慢慢变好吧!!
全部文章
(共9篇)
题解 | #返回购买 prod_id 为 BR01 的产品的所有顾客的电子邮件(一)#
select cust_email from Customers where cust_id in ( select cust_id from Orders join OrderItems on Orders.order_num = O...
Mysql
2022-06-02
0
162
题解 | #毕业生就业调查#
survey_list = ["Niumei", "Niu Ke Le", "GURR", "LOLO"] result_dict = {"Niumei": "Nowcoder", "GURR": "HUAWEI"} grateful_words = "Hi, {0}! Thank you for...
Python3
数组
2022-05-31
0
199
题解 | #遍历字典#
def print_dict(dict: dict): for k, v in sorted(dict.items()): print("Operator {0} means {1}.".format(k, v)) operators_dict = {'<': 'l...
Python3
2022-05-31
0
216
题解 | #食堂点餐#
order_list = ['rice', 'beef', 'chips', 'pizza', 'pizza', 'yogurt', 'tomato', 'rice', 'beef'] sum = 0 def food_price(food: str, price: int): glob...
Python3
数组
字符串
2022-05-31
21
472
题解 | #程序员节#
# 先写一行 [print("Hi, {0}! Welcome to Nowcoder!".format(user)) if user != "Niu Ke Le" else print("Hi, {0}! Welcome to Nowcoder!".format(user), "Happy Pro...
Python3
数组
2022-05-31
0
280
题解 | #字符列表的长度#
# 先写一行。 print("Here is the original list:", list("Python"), "\nThe number that my_list has is:", len(list("Python")), sep="\n")
2022-05-30
7
373
题解 | #排序与反转#
from typing import List def print_words(string: str, list_data: List): print(string, list_data, sep="\n", end="\n\n") string_1 = "Here is the ...
Python3
数组
2022-05-30
0
230
题解 | #投递简历#
company_list = ['Alibaba', 'Baidu', 'Tencent', 'MeiTuan', 'JD'] hello_words = "Hello {0}, here is my resume!" attend_words = "{0}, thank you for passi...
Python3
数组
2022-05-30
0
185
题解 | #派对名单#
from typing import List def print_word(guest_list: List, word: str): last_guest = guest_list[-1] for guest in guest_list: if la...
Python3
数组
2022-05-30
0
200