Commit 3732087c by BellCodeEditor

auto save

parent 04dc5126
Showing with 60 additions and 0 deletions
# import abc
# class pet(metaclass=abc.ABCMeta):
# def __init__(self,name,age):
# self.name = name
# self.age = age
# @abc.abstractmethod
# def meaalpay(self):
# pass
# class Dog(pet):
# def mealPay(self,name):
# print(f"我是一只狗")
# money = 1*4*30
# print(f"我每月要{money}")
# class Cat(pet):
# def mealPay(self,name):
# print(f"我是一只猫")
# money = 1*4*30
# print(f"我每月要{money}")
# class pig(pet):
# def mealPay(self,name):
# print(f"我是一只猪")
# money = 1*4*30
# print(f"我每月要{money}")
# while True:
# print("花费计算:\n1,狗狗\n,猫猫\n,猪猪")
# choice = input("请输入您的选择(输0退出)")
# if choice == "0":
# print("已退出")
# break
# if choice == "1":
# d1 = Dog("大壮,3")
# d1.meaalpay(d1.name)
# elif choice == "2":
# c1 = Dog("圆圆,2")
# c1.meaalpay(c1.name)
# elif choice == "3":
# p1 = Dog("圆d,2")
# p1.meaalpay(p1.name)
# else:
# print("有误")
import pandas as pd
import numpy as numpy
import matplot as plt
df = pd.read_excel("text5.xlsx")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment