got it!
1111111
这样
这样
[这样吧]
谢谢,懂了
懂了
#include <stdio.h>
#include <string.h>
int main()
{
char str = "I love FishC.com!";
printf("length = %d\n", strlen(str));
return 0;
}
对了吧?
不出意外的话这次应该是对的
应该是这样的把[\code]
是这样子吗?
我是代码
import random as r
class Fish:
def __init__(self):
self.x = r.randint(0, 10)
self.y = r.randint(0, 10)
def move(self):
self.x -= 1
print('我的位置是:', self.x, self.y)
class Goldfish(Fish):
pass
class Carp(Fish):
pass
class Salmon(Fish):
pass
class Shark(Fish):
def __init__(self):
Fish.__init__(self)
self.hungry = True
def eat(self):
if self.hungry:
print('吃货的梦想')
self.hungry = False
else:
print('太撑了')
试一下效果
感谢分享
hello 大家好,欢迎自己的加入~
虽然还看不懂, 不过我会努力学习和尝试,希望可以向各位大神多多学习,
感恩小甲鱼的这个论坛 {:7_123:}
如何删帖?怎么又找不到刚才我写的两个帖子了。。。
hello 大家好,欢迎自己的加入~
虽然还看不懂, 不过我会努力学习和尝试,希望可以向各位大神多多学习,
感恩小甲鱼的这个论坛 {:7_123:}
hello大家好,欢迎我自己的加入,虽然还不是很懂,不过我会多多学习和尝试 ,谢谢小甲鱼的这个论坛~
是这样吗{:10_256:}