Python
6
Вклад в тег
{
"title": "sun",
"subtitle": "earth",
"r": "mars"
}
<h1 id="title"></h1>
<h2 id="subtitle"></h2
<p id="r"></p>
let data = loadJSON('jsons\indexes.json');
document.getElementById('title').innerHTML = data.title;
document.getElementById('subtitle').innerHTML = data.subtitle;
document.getElementById('r').innerHTML = data.r;
import random
o = 0
i = 67
while True:
a = random.randint(1, 1000000)
print(a)
o+=1
if i == a:
print(o)
break