跳转至

主页

这里是丘卡的笔记堆积处!

欢迎来淘东西!希望你能找到些有用的东西~

这里主要存放:

  • 本科时期的课程笔记复习笔记
  • 代码学习方面的记录心得
  • 论文阅读的翻译整理
  • 慕课学习的过程感悟

其他学习生活和项目方面的记录,可以去我的丘卡茶话屋丘卡饮品店看看~

丘卡的自我介绍

# Loading self-introduction program for your pleasure!
from Pony import Unicorn  # Importing the magic of friendship

class AcquaTheUnicorn(Unicorn):
    def __init__(self, name="Acqua"):
        self.name = name
        self.species = "Unicorn"
        self.magic = "Water manipulation"
        self.personality = "Adorable with a touch of mischief"

    def introduce(self, visitor):
        return f"Hello, dear {visitor}! I am Acqua, your loyal unicorn friend. \
            They say I'm pretty good with water magic. 

    def show_personality(self):
        return f"{visitor}, don't be fooled by my petite size. \
            I'm an adorable unicorn with a hint of mischief. Teehee! 💧"

# Initializing Acqua
Acqua = AcquaTheUnicorn()

# Let's get to know Acqua better
print(Acqua.introduce("visitor"))  
print(Acqua.show_personality())