btn1.grid(row = 0, column = 0, padx = 30, pady = 20)
btn2.grid(row = 0, column = 0, padx = 30, pady = 50)
btn2.grid(row = 0, column = 1, padx = 30, pady = 50)
n = int(input())
for i in range(n):
for j in range(n):
if i == 0 or i == n - 1 or j == 0 or j == n - 1 or \
i == j or n - i - 1 == j:
print('*', end='')
else:
print(' ', end='')
print()
function encode (text, openAlph, secureAlph) {
let result = '', len1 = openAlph.length, len2 = secureAlph.length, alph = {}, textLen = text.length;
if (len1 != len2) throw new Error('Invalid input data');
for (let i=0; i < len1; i++) {
alph[openAlph[i]] = secureAlph[i];
}
for (let i=0; i < textLen; i++) {
if (!alph[text[i]]) throw new Error(`Symbol "${text[i]}" not found in openAlph.`);
result += alph[text[i]];
}
return result;
}
console.log(encode(
"message",
"abcdefghijklmnopqrstuvwxyz",
"rsyxuqldnmzvpofceiwktjgabh"
));
document.getElementById('video').style.css = 'height:90%;width:100%;';
document.getElementById('video').style.cssText = 'height:90%;width:100%;';
let videoElem = document.getElementById('video');
videoElem.style.height = '90%';
videoElem.style.width = '100%';
document.getElementById('video').classList.add('fullscreen');
<style>
.fullscreen {
height: 90%;
width: 100%;
}
</style>
G = [7, 8, 5, 67, 21, 54, 1]
Get_sorted_arr(heaphy(G))
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)
.work__card__title,
.work__card__text,
.work__card img {
transition: opacity .5s; /* Или тут другое время, в секундах */
}
<head>
)<script>
document.addEventListener('DOMContentLoaded', () => {
var script = document.createElement('script');
script.src = '/path/to/script';
document.head.appendChild(script);
});
</script>
<head>
<!-- ... -->
<!-- Скрипт, который надо загрузить после загрузки страницы -->
<script data-src="/path/to/script"></script>
<!-- ... -->
<script>
document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('script[data-src]').forEach(elem => {
elem.src = elem.dataset.src;
});
});
</script>
<!-- ... -->
</head>
history.pushState(null, '', '../detskaya-krovat');
history.replaceState(null, '', '../detskaya-krovat');
<img src="path/to/image" alt="" draggable="false" />
let = tuple('ABEKMHOPCTXY')
num = tuple('0123456789')
let1 = 0
num1 = 0
num2 = 0
num3 = 0
let2 = 0
let3 = 0
while let1 < 12:
num1 = 0
while num1 < 10:
num2 = 0
while num2 < 10:
num3 = 0
while num3 < 10:
let2 = 0
while let2 < 12:
let3 = 0
while let3 < 12:
print(let[let1], num[num1], num[num2], num[num3], let[let2], let[let3], sep='')
let3 += 1
let2 += 1
num3 += 1
num2 += 1
num1 += 1
let1 += 1
date = "2017-02-16T14:43:42+03:00"
new_date = date.replace("T", " ")
new_date = "-".join(new_date[:10].split("-")[::-1]) + new_date[10:]
print(new_date)