#coding=utf-8
import numpy as np
import tensorflow as tf
import os
os.environ["CUDA_VISIBLE_DEVICES"]="-1"
# print("aa")
class Animals:
def breathe(self):
print("breathing")
def move(self):
print("moving")
def eat(self):
print("eating food")
class Mammals(Animals):
def breastfeed(self):
print("feed yong")
class Cats(Mammals):
def __init__(self,spots):
self.spots=spots
def catch_mouse(self):
print("cat mouse")
def left_foot_forward(self):
print("left foot forward")
def left_foot_back(self):
print("left foot backward")
def dance(self):
self.left_foot_back()
self.left_foot_forward()
self.left_foot_forward()
self.left_foot_back()
kitty=Cats(10)
print("spots",kitty.spots)
# kitty.dance()
kitty.breastfeed()