在我的大多数网站上,我有很多外部链接到我的其他网站和其他外部网站.我需要知道什么时候更好用rel="nofollow"或rel="external"在网站上?
我有以下问题.我已将微数据架构添加到我的页面,但我想要隐藏.有人有想法吗?
我使用的代码如下:
<div itemscope itemtype="http://schema.org/LocalBusiness">
<a itemprop="url" href="http://www.example.net/"><div itemprop="name"><strong>Audiosky Mobile Development</strong></div>
</a>
<div itemprop="description">Description/div>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="addressLocality">Los Angeles</span><br>
<span itemprop="addressRegion">California</span><br>
<span itemprop="postalCode"></span><br>
<span itemprop="addressCountry">USA</span><br>
</div>
</div>
Run Code Online (Sandbox Code Playgroud) 任何人都可以给我一个完整的代码示例?如果我打印总数,为什么结果总数是21(即当前的总和)???
end=6
total = 0
current = 1
while current <= end:
total += current
current += 1
print total
Run Code Online (Sandbox Code Playgroud)