From 7ac0ef9eb5141a13db3512fd4ca99e1c48f074ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BD=A9=E8=BE=95=E9=BE=99=E5=84=BF?= Date: Wed, 26 Oct 2022 09:36:37 +0800 Subject: [PATCH] =?UTF-8?q?NP16=20=E5=8F=91=E9=80=81offer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NP/NP16.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 NP/NP16.py diff --git a/NP/NP16.py b/NP/NP16.py new file mode 100644 index 0000000..243c9e1 --- /dev/null +++ b/NP/NP16.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python3 +# @author 轩辕龙儿 +# @date 2022/10/26 +# @file NP16.py +list = ["Allen", "Tom"] +for i in list: + print( + "{}, you have passed our interview and will soon become a member of our company.".format( + i + ) + ) +list.remove("Tom") +list.append("Andy") +for i in list: + print("{}, welcome to join us!".format(i))