So one of the things I would like to suggest is that you develop some good style here, and in particular, don't change types arbitrarily.
所以我的建议是,你们要养成一些好的编程风格,尤其是,不要反复无常的改变变量的类型。
and I'm still here, three years, like, in two weeks would be my, like, three year anniversary and
我还在这儿,三年了,再过两个星期就整整三年了,
And there is something I would like you to be tuned into here.
这里有一点,我希望你们能注意。
Everybody's got the sheet there and what I would like to do is just have everyone, all of this--We'll just sing "La" Here. We won't sing the text.
每个人都有一张,我想做的就是让每个人,大家只唱,啦,不用唱歌词
Like here would be one small--I guess these are the small boxes, but the serving sizes are listed and the brand, and then you could click on that particular food if that's the appropriate one.
这有个小点的,我想这是个小盒装,每份的量和牌子都列出来了,你可以点击,选择相应的食物
Far more unrealistic would be the belief of those who argue, and I'm thinking here of names like Immanuel Kant and others from the eighteenth and nineteenth century, that one day we can abolish war altogether, and therefore abolish the passions that give rise to conflict and war.
不切实际,将是那些争辩者的信念,就像康德或其它,十八及十九世纪的思想家,幻想有一天我们可以全面终止战争,进而废除,引起冲突与战争的激情。
Remember last time, we wrote this simple piece of code to print out even or odd. If, you know, x, 1 it was in fact, even or odd. So let me show you what a flow chart for that would look like, because I want to make a comparison point here.
这就像这里有一些脚蹼一样,首先进行测试,然后把球这样放来让ANS加,然后回来继续测试,最终跳出循环然后打印答案。
I feel like, in my memory in high school, we would come here a lot.
我觉得,在我的记忆里,我们上高中的时候经常来这里。
I would like you to look at this piece of code right here called isPalindrome.
我将会输入一个字符串,命名为s,并局部赋值。
Remember last time, we wrote this simple piece of code to print out even or odd. If, you know, x, it was in fact, even or odd. So let me show you what a flow chart for that would look like, because I want to make a comparison point here.
记得上节课我们写过的,那个显示奇数还是偶数的程序么,如果,你知道,x,实际上是奇数还是偶数,那么让我来为大家画个这个程序的流程图吧,因为我这里想为大家做个比较。
应用推荐