英语人>网络例句>字符串 相关的搜索结果
网络例句

字符串

与 字符串 相关的网络例句 [注:此内容来源于网络,仅供参考]

The most common string comparison operator is eq, which tests for string equality - that is, whether two strings have the same value.

最常用的字符串比较运算符是eq,它比较两个字符串是否相等,也就是比较两个字符串是否有相同的值。

The quotes are not part of the string, but serve only to delimit it.

都是字符串。双引导不是字符串的一部分,它只用于限定字符串

So for immutable objects like strings, we make the observation that only valid expressions on the left-hand side of an assignment (to the left of the equals sign ) must be the variable representation of an entire object such as a string, not single characters or substrings.

对像字符串这样的不可变对象,我们探究了它在赋值操作中对左值的限制,左值必须是一个完整的对象,比如说一个字符串对象,不能是字符串的一部分。

Thus to remove the virus string, I put the Search string to the virus script and the replacement string to NULL.

因此,要清除病毒字符串,我把搜索字符串病毒脚本和替换字符串为NULL。

If the string is enclosed in two pairs of double quotes, the first pair is considered to enclose a null string, and the rest of the string is discarded.

如果字符串引号括在双两对,第一对被认为是一个空字符串括起来,而其余的字符串将被丢弃。

Practically all Python objects have a string presentation either evaluatable from repr( or '', or printable from str. The print statement automatically invokes the str function for an object. This gets even better. When you are defining your own objects, there are hooks for you to create string representations of your object such that repr and str (and '' and print) return an appropriate string as output. And if worse comes to worst and neither repr or str is able to display an object, the Pythonic default is at least to give you something of the format

事实上,所有的Python对象都有一个字符串表示形式(通过repr函数,''或者str函数来展现)。print语句自动为每个对象调用该对象的str方法,这种机制的一个额外的好处就是在你定义你自己的对象时,你可以利用这种机制定义repr(,str或者''或者print来为你的对象创建一种字符串表达形式,它可以在被调用时返回适当的字符串描述信息,这样即使在坏的不能再坏的情况下,repr或者str起码可以给你返回一个对象的信息,Pythonic方式的默认做法是起码给你返回想如下格式的信息

The ''' right quotient ''' of a letter '' a '' from a string '' s '' is the truncation of the letter '' a '' in the string '' s '', from the right hand side.

字符串 '' s ''与字母''a''的'''右商'''是在字符串'' s ''中切断右手端字母'' a ''得到的字符串

Other languages such as C use single quotes for characters and double quotes for strings.

字符串是不可边类型,就是说改变一个字符串的元素需要新建一个新的字符串

The key to understanding this recipe lies in the definitions of the translate and maketrans functions in the string module. translate takes a string and replaces each character in it with the corresponding character in the translation table passed in as the second argument, deleting the characters specified in the third argument. maketrans is a utility routine that helps create the translation tables.

理解这一配方的关键,在于string模块中 translate 和 maketrans 函数的定义。translate接收一个字符串,并根据第二个参数中传入的转换表,将字符串中的每一个字符替换为相对应的字符,同时删除掉第三个参数中指定的字符(译者注:当translate作为字符串对象的方法调用时,转换表为第一个参数,第二个参数中指定要删除的字符)。maketrans 是一个用来帮助创建转换表的例程。

The value of a raw string literal is the string composed of the uninterpreted characters between the quotes; in particular, backslashes have no special meaning and the string may span multiple lines.

原始字符串字面值表示的值就是由反引号之间的字符组成的字符串。特别是,原始字符串中反斜杠没有特殊含义,可以跨跃多行。

第2/92页 首页 < 1 2 3 4 5 6 7 8 9 ... > 尾页
推荐网络例句

Cynanchum Lingtai apricot production in the average weight 65 grams, the brightly-colored fruit, juicy rich, sweet-sour taste, sweet from the nucleolus, when the late Qing Dynasty famous Shaanxi, Gansu provinces, the Qing imperial court Tongzhi tribute for years.

灵台生产的牛心杏平均单果重65克,果实色泽鲜艳,汁多味浓,甜酸适口,离核仁甜,清末时就驰名陕、甘两省,清同治年间曾为朝廷贡品。

Chenopodium album,Solanum nigrum, and Amaranthus retroflexus were very susceptible to the herbicides. Polygonum persicaria and Abutilon theophrasti were relatively less susceptible to the herbicides, and Lycopersicon esculentum was not susceptible to it. The relationship between reduction rates of weed biomass and PPM values of weed leaves 2,4, and 6 days after treatment was established.

供试的6种杂草对该混剂的敏感性存在显著差异:红心藜Chenopodium album、龙葵Solanum nigrum和反枝苋Amaranthus retroflexus对该混剂最敏感,ED90值分别为47.65、71.67和29.17g/hm2;春蓼Polygonum persicaria和苘麻Abutilon theophrasti敏感,ED90值分别为96.91、114.20g/hm2;而番茄不敏感。

However, I have an idea.

不过,我有个主意。