An alternative is to write a function that fetches only the immediate dependency list for a user-selected plug-in.
另外一种选择是编写一个函数,只获取用户选择的插件的直接依赖性清单。
As an exercise, write a function that takes a string as an argument and displays the letters backward, one per line.
下面就练习一下了,写一个函数,接收一个字符串做参数,然后倒序显示每一个字符,每行显示一个。
For example, let's say your project requires you to write a function that adds two Numbers, and returns the sum of these Numbers.
例如:你的项目需要你写一个函数,把两个数相加,并返回和。
I'd also like to show you an example of how you'd set up your plug-in architecture if you decided to write a function, as opposed to a method.
如果您决定编写函数而不是方法,我还将向您展示一个样例,介绍如何设置插件架构。
We want to write a function that given a function to compute the sum of a sequence, gives us the next function to compute the sum of a sequence.
我们要编写一个返回另一个函数的函数,用返回的函数计算对序列求和。
Because we cannot copy an array, we cannot write a function that takes an array type parameter.
因为数组不能复制,所以无法编写使用数组类型形参的函数。
Given such a graph, write a function to find all the MHTs and return a list of their root labels.
给定一个无向图,编写函数找出所有的最小高度树,并返回其根标号的列表。
Even though we cannot pass an array directly, we can write a function parameter that looks like an array.
虽然不能直接传递数组,但是函数的形参可以写成数组的形式。
It's fairly easy to write a function in assembly that is call-able from c, so using both languages wasn't a problem.
而从C里调用汇编写的函数是相当简单的,因此同时使用两种语言不成问题。
For example, let's say your project requires you to write a function that adds two Numbers, and returns the sum of these Numbers.
比如说,假设你的项目要求你写一个函数把两个数字相加,并返回两个数字的和。
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.
输入一个数字列表,我们要把所有的0元后置,并要保持非0元的原顺序。
If you want to write a function that describes this line here, it's pressure as a function of volume related to each other with this constant.
如果要写出描述这条等温线的方程,它的压强和体积,就通过常数C相联系起来。
As an example, we'll write a function that takes two points, the center of the circle and a point on the perimeter, and computes the area of the circle.
下面我们写一个函数作为例子,这个函数需要两个点,一个是圆心,一个是圆周上面的点,函数要用来计算这个圆的面积。
We want to write a function that generates accumulators-- a function that takes a number n, and returns a function that takes another number i and returns n incremented by i.
我们需要写一个函数,它能够生成累加器,即这个函数接受一个参数n,然后返回另一个函数,后者接受参数i,然后返回n增加(increment)了i后的值。
Write a function that calculates a number's factorial using recursion.
写出一个用递归来计算阶乘的函数。
Write a function that takes a string as input and reverse only the vowels of a string.
编写函数输入一个字符串,将其中的元音字母逆置。
Write a function to compute the fewest number of COINS that you need to make up that amount.
编写函数计算凑齐金额总值最少需要的硬币数目。
Write a function to determine whether you can win the game given the number of stones in the heap.
编写函数,给定石头的个数,判断你是否可以赢得游戏。
Write a function to compute the number of combinations that make up that amount. You may assume that you have infinite number of each kind of coin.
编写函数计算要得到目标金额,有多少种不同的硬币组合方式。
Write a function in PokerHand. py that shuffles a deck of CARDS, divides it into hands, classifies the hands, and counts the number of times various classifications appear.
在PokerHand .py中写一个函数来对一副牌进行洗牌,分成多个牌型,对各个牌型进行分类,然后统计不同类型出现的次数。
Write a function in PokerHand. py that shuffles a deck of CARDS, divides it into hands, classifies the hands, and counts the number of times various classifications appear.
在PokerHand .py中写一个函数来对一副牌进行洗牌,分成多个牌型,对各个牌型进行分类,然后统计不同类型出现的次数。
应用推荐