2007年09月04日 星期二 00:44
ΪʲôÖ÷Á÷¶¼ÊÇÖ§³Ö!=¶ø²»Ö§³Ö
ÎÒ¾õµÃ²»µÈÓÚÓ¦¸ÃÓÃ
±È!=ºÃ,ÒòΪÈç¹û!ÓÃÓÚ·ñ²Ù×÷ʱ,!=ÓÖÓÃÓÚÅжϲ»µÈÓÚºó,a = a ! b¾Íû°ì·¨Ð´³Éa != bÁË. ÏëÏë+=,-=,*=,/=,%=,<<=,>>=,|=,&=,^=,&&=,||=¶¼¿ÉÒÔ,ƫƫ¶Àȱ!= ¶øÇÒ
¸úÆäËû±È½Ï²Ù×÷·ûÒ²ºÜÏàÅä"<,=,>,==,
"±È"<,=,>,==,!="¿´ÆðÀ´Ë³ÑÛ¶àÁË. !=´úÌæ
µÄºÃ´¦ÔÚÄÄÀï?ΪʲôÁ¬py3000ҲҪȥµô
ÄØ? -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070904/455da414/attachment.html
2007年09月04日 星期二 01:09
ϰ¹ßµÄÁ¦Á¿¡£ On 9/4/07, Samuel Chi <princeofdatamining在gmail.com> wrote: > > ΪʲôÖ÷Á÷¶¼ÊÇÖ§³Ö!=¶ø²»Ö§³Ö > ÎÒ¾õµÃ²»µÈÓÚÓ¦¸ÃÓñÈ!=ºÃ,ÒòΪÈç¹û!ÓÃÓÚ·ñ²Ù×÷ʱ,!=ÓÖÓÃÓÚÅжϲ»µÈÓÚºó,a = a ! b¾Íû°ì·¨Ð´³Éa != bÁË. > ÏëÏë+=,-=,*=,/=,%=,<<=,>>=,|=,&=,^=,&&=,||=¶¼¿ÉÒÔ,ƫƫ¶Àȱ!= > ¶øÇÒ¸úÆäËû±È½Ï²Ù×÷·ûÒ²ºÜÏàÅä"<,=,>,==,"±È"<,=,>,==,!="¿´ÆðÀ´Ë³ÑÛ¶àÁË. > > !=´úÌæµÄºÃ´¦ÔÚÄÄÀï?ΪʲôÁ¬py3000ҲҪȥµôÄØ? > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070904/3fb70faa/attachment.html
2007年09月04日 星期二 10:04
a ! b 是什么意思? 根本不存在的操作 True ! True == ??? Samuel Chi 写道: > 为什么主流都是支持!=而不支持 > 我觉得不等于应该用比!=好,因为如果!用于否操作时,!=又用于判断不等于后, > a = a ! b就没办法写成a != b了. > 想想+=,-=,*=,/=,%=,<<=,>>=,|=,&=,^=,&&=,||=都可以,偏偏独缺!= > 而且跟其他比较操作符也很相配"<,=,>,==,"比"<,=,>,==,!="看起来顺眼多了. > > !=代替的好处在哪里?为什么连py3000也要去掉呢? > ------------------------------------------------------------------------ > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese
2007年09月04日 星期二 10:08
像c靠拢.昨天看群里讨论print(a)都得加括号了.. !=更喜欢些 -----邮件原件----- 发件人: python-chinese-bounces在lists.python.cn [mailto:python-chinese-bounces在lists.python.cn] 代表 huyuxin 发送时间: 2007年9月4日 10:04 收件人: python-chinese在lists.python.cn 主题: Re: [python-chinese] [OT]关于不等于和!=的疑惑? a ! b 是什么意思? 根本不存在的操作 True ! True == ??? Samuel Chi 写道: > 为什么主流都是支持!=而不支持 > 我觉得不等于应该用比!=好,因为如果!用于否操作时,!=又用于判断不等于后, > a = a ! b就没办法写成a != b了. > 想想+=,-=,*=,/=,%=,<<=,>>=,|=,&=,^=,&&=,||=都可以,偏偏独缺!= > 而且跟其他比较操作符也很相配"<,=,>,==,"比"<,=,>,==,!="看起来顺眼多了. > > !=代替的好处在哪里?为什么连py3000也要去掉呢? > ------------------------------------------------------------------------ > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese _______________________________________________ python-chinese Post: send python-chinese在lists.python.cn Subscribe: send subscribe to python-chinese-request在lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese
2007年09月04日 星期二 10:09
On 9/4/07, huyuxin <huyx在uniwelltech.com> wrote: > a ! b 是什么意思? 根本不存在的操作 > > True ! True == ??? > 能不能讨论些更有意义的东西呢? -- I like python! UliPad <>: http://code.google.com/p/ulipad/ My Blog: http://www.donews.net/limodou
Zeuux © 2025
京ICP备05028076号