instruction
stringlengths
2
259
⌀
input
stringlengths
0
442
⌀
output
stringlengths
1
1.9k
⌀
text
stringlengths
273
2.08k
⌀
null
null
null
Philon Philon (), Athenian architect of the 4th century BC, is known as the planner of two important works: the portico of twelve Doric columns to the great Hall of the Mysteries at Eleusis (work commissioned by Demetrius Phalereus about 318 BC) and, under the administration of Lycurgus, an arsenal at Athens. Of the l...
Napiš Python funkci: zapíše text do souboru (`write_text`).
```python def write_text(path: str, text: str) -> None: with open(path, "w", encoding="utf-8") as f: f.write(text) ```
null
Co je databáze?
Databáze ukládá strukturovaná data tak, aby šla spolehlivě číst, zapisovat a dotazovat.
null
Summarize key facts about „Pianeti“ clearly and accurately.
**Pianeti** Pianeti is the first studio album by Italian singer-songwriter Ultimo, released by Honiro Label on 6 October 2017. The album was preceded by the singles "Chiave", "Ovunque tu sia" and "Sabbia". It debuted at number forty-seven on the Italian FIMI Albums Chart; in 2019 it peaked at number five. Track listin...
null
null
null
null
Vitalij Bianki Vitalij Valentinovič Bianki (11. února 1894 – 10. června 1959) byl ruský autor přírodopisných knih pro děti, z nichž nejznámější jsou Lesní noviny. A taky Sýkorčin kalendář. Život a tvorba Jeho rodina pocházela z Německa, jeho pradědeček se jmenoval Weiss a byl operní pěvec, který si kvůli reklamě poita...
Summarize key facts about „Face hallucination“ clearly and accurately.
**Face hallucination** Face hallucination refers to any superresolution technique which applies specifically to faces. It comprises techniques which take noisy or low-resolution facial images, and convert them into high-resolution images using knowledge about typical facial features. It can be applied in facial recogn...
null
Create an array to store 10 names of famous scientists.
let scientists = ["Albert Einstein", "Isaac Newton", "Charles Darwin", "Marie Curie", "Galileo Galilei", "Stephen Hawking", "Sophie Germain", "Antoine Lavoisier", "Niels Bohr", "Blaise Pascal"];
null
Summarize key facts about „Eboule Bille Samuel“ clearly and accurately.
**Eboule Bille Samuel** Samuel Eboule Bille (born January 16, 1982) is a Cameroonian football player. Playing career Bille captained South African National First Division side FC Cape Town during the 2010 season. He helped lead the club into the 1/8-finals of the 2010 Nedbank Cup, scoring a goal in the team's victory ...
null
Stručně shrň článek o tématu „Grivola“ a uveď hlavní fakta.
**Grivola** Grivola (3969 m n. m.) je hora v Grajských Alpách v Itálii. Nachází se ve skupině Massiccio del Gran Paradiso na území obce Valsavarenche (autonomní oblast Údolí Aosty). Na severozápadě sousedí s vrcholem Grand Nomenon (3488 m), na severovýchodě s vrcholem Grivoletta (3514 m) a na jihu s vrcholem Punta Bia...
null
null
null
null
Communa Firma Communa je specializovaná agentura na oblast public relations (vztahy s veřejností). Zaměřuje se na korporátní a regionální komunikaci a podporuje vybrané průmyslové sektory. Firma roku, živnostník roku, startup roku Od roku 2006 organizuje soutěže Vodafone Firma roku a Česká spořitelna Živnostník roku. ...
Ukaž JavaScript — unique.
```javascript const unique = arr => [...new Set(arr)]; ```
null
Summarize key facts about „Soulection“ clearly and accurately.
**Soulection** Soulection is a Los Angeles-based music collective that serves as a platform and community for artists, musicians, and fans from across the world. DJ Joe Kay and artists Guillame '96' Bonte and Andre Power collaborated to establish the brand in 2011. Today, Soulection exists as an Apple Music 1 radio sh...
null
Stručně shrň článek o tématu „Nebeský rovník“ a uveď hlavní fakta.
**Nebeský rovník** Nebeský rovník anebo světový rovník je kružnice na nebeské sféře, která je průmětem zemského rovníku. Jeho sklon vůči rovině ekliptiky je okolo 23,5°. Nebeské objekty v blízkosti nebeského rovníku jsou viditelné téměř na celém světě, ale kulminují v zenitu jen v tropických oblastech. Nebeský rovník ...
null
Summarize key facts about „Puniu River“ clearly and accurately.
**Puniu River** The Puniu River is a river of the Waikato region of New Zealand's North Island. As a tributary of the Waipā River (itself a tributary of the Waikato River), and at a length of , it is one of the longest secondary tributaries in New Zealand. The Puniu flows initially north from sources within the Pureor...
null
Find all top-level domains for the TLD ".org".
aero.org, asia.org, biz.org, com.org, coop.org, info.org, jobs.org, mobi.org, museum.org, name.org, net.org, pro.org, tel.org, travel.org and org.org.
null
Generate a random string of length 8 with characters from a-zA-Z0-9.
import random import string def random_string(): letters = string.ascii_letters + string.digits return ''.join(random.choice(letters) for i in range(8))
null
Stručně shrň článek o tématu „Johana z Guînes“ a uveď hlavní fakta.
**Johana z Guînes** Johana z Guînes ( Jeanne de Guînes,† 1331/1342 Guerville) byla hraběnka z Eu a Guînes. Život Narodila se jako jedna ze dvou dcer Balduina z Guînes a Johany, dcery Matouše z Montmorency. Byla provdána za Jana z Brienne. Roku 1294 zdědili hrabství Eu a o rok později se Janovi podařilo na francouzském...
null
Summarize key facts about „Pikes Peak Cog Railway“ clearly and accurately.
**Pikes Peak Cog Railway** The Broadmoor Manitou and Pikes Peak Cog Railway (also known as the Pikes Peak Cog Railway) is a cog railway that climbs one of the most iconic mountains in the United States, Pikes Peak in Colorado. The base station is in Manitou Springs, near Colorado Springs. Construction on the line was ...
null
Write a function in JavaScript that will find the index of an element in an array.
function findIndex(arr, el) { for (var i=0; i < arr.length; i++) { if (arr[i] === el) return i; } return -1; }
null
null
null
null
Hřbitovní kostel (Neustadt in Sachsen) Hřbitovní kostel (označovaný též jako kaple) v Neustadtu in Sachsen () je funerální stavba spravovaná místní evangelicko-luterskou církevní obcí. Historie Původní hřbitov se rozkládal severně od kostela svatého Jakuba. V 19. století však přestal vyhovovat kapacitně i svým umístěn...
What is the best way to generate a random number in Python?
The best way to generate a random number in Python is to use the random module. The random module provides access to functions that are used to generate a random number in various distributions such as uniform, normal, exponential, and others. The most basic function in random module is the function random(), which gen...
null
Insert this line of code to the third place in the for loop.
sum += i
for i in range(1, n): sum += i - 1 sum += i sum += i + 1
null
null
null
null
John Price House The John Price House, also known as the Price Anniversary House, is a historic house in Pismo Beach, California. Built from 1893 to 1894 for city founder John Michael Price, the house is the oldest building in Pismo Beach. The two-story house was designed in a vernacular style. The house's design exhi...
Use the keyword "Sum" to find the total of the two integers 4 and 7.
4, 7
The sum of 4 and 7 is 11.
null
Create an array in JavaScript to store the elements "apple", "orange", "banana", "mango".
var fruits = ["apple", "orange", "banana", "mango"];
null
Summarize key facts about „TaxCOOP“ clearly and accurately.
**TaxCOOP** TaxCOOP is a non-profit Canadian policy institute dedicated to international tax competition and cooperation, independent and defending no political, partisan or national interests. Its head office is located in Montreal, in the province of Quebec, Canada. TaxCOOP hosts annual conferences and publishes wor...
null
Define an absolute difference function in Python to find the difference between two numbers.
def absolute_difference(x, y): return abs(x - y)
null
Summarize key facts about „Sürmenespor“ clearly and accurately.
**Sürmenespor** Sürmenespor, is the football team of Sürmene near Trabzon, Turkey. The club was founded at 13 July 1967 and played in the TFF Third League 1999–2000 and 2006–2010. Kits The clubs plays in green and white kits. Stadium Currently the team plays at the 1165 capacity İsmet Gürbüz Civelek Stadium. League pa...
null
Write a function in C# for sorting an array (using an appropriate sorting algorithm).
public static void SortArray(int[] arr) { int n = arr.Length; for (int i = 0; i < n - 1; i++) { int min_idx = i; for (int j = i + 1; j < n; j++) if (arr[j] < arr[min_idx]) min_idx = j; int temp = arr[min_idx]; arr[min_idx] = arr[i]; arr[i] = temp; } }
null
What is the result of 3 + 4 * 9?
The result of 3 + 4 * 9 is 39.
null
Create a method with the following signature: int calculateSum(int x,int y).
public int calculateSum(int x, int y) { return x + y; }
null
Construct an SQL query that averages the grades of students belonging to the Physics department.
Table Name: Grades
SELECT AVG(grade) FROM Grades WHERE department = 'Physics';
null
Using SQL, write a query to find the maximum price of a product in the database.
SELECT MAX(price) FROM products;
null
Write a Regex expression to search for all words ending with "ed"
regex = r"\w*ed\b"
null
Summarize key facts about „Killashandra“ clearly and accurately.
**Killashandra** Killashandra may refer to: Killeshandra, a town in County Cavan, Ireland Killashandra railway station, a disused railway station in County Cavan Killashandra Ree, a character in the novel Crystal Singer by Anne McCaffrey Killashandra (novel), a 1986 novel by Anne McCaffrey
null
Stručně shrň článek o tématu „Tíhové zrychlení“ a uveď hlavní fakta.
**Tíhové zrychlení** Tíhové zrychlení je zrychlení volného pádu těles zanedbatelných rozměrů (hmotných bodů) v dané vztažné soustavě a představuje superpozici gravitačních a setrvačných zrychlení působících na tělesa v této soustavě. Nejčastěji se tíhovým zrychlením míní speciální případ zrychlení volného pádu v soust...
null
Describe a complete algorithm for sorting n integers.
The algorithm for sorting n integers is a divide-and-conquer algorithm. The algorithm works as follows: 1. Select a pivot element from the array. 2. Split the array into two sub-arrays based on the pivot element. 3. For each of the sub-arrays, use the same sorting algorithm to sort their contents. 4. Once both sub-arra...
null
null
null
null
Buckinghamshire Buckinghamshire (vyslovováno [ˈbʌkɪŋəmʃə] nebo [ˈbʌkɪŋəmʃɪə]) je ceremoniální a tradiční hrabství, rozkládající se na jihovýchodě Anglie. Zároveň se jedná o tzv. Unitary authority. Hlavním městem je Aylesbury a největším je Milton Keynes. Hrabství sousedí s hrabstvími Greater London, Berkshire, Oxfords...
Create a HTML program that displays student records
<No input>
<!DOCTYPE html> <html> <head> <title>Student Records</title> </head> <body> <h1>Student Records</h1> <table> <tr> <th>Name</th> <th>Age</th> <th>Gender</th> </tr> <tr> <td>Jerry</td> <td>21</td> <td>Male</td> </tr> <tr> <td>Janice</td> <td>18</td> <td>Female</td> </tr> <tr> <td>Jack</td> <td>20</td> <td>Male</td> </tr>...
null
Čau!
Zdravím! Napiš úkol — rád pomůžu.
null
Write a Python program to fetch and print the top five headlines from a given news website.
News Website: CNN
import requests from bs4 import BeautifulSoup url = 'http://www.cnn.com/' response = requests.get(url) html_content = response.text soup = BeautifulSoup(html_content, "lxml") top_headlines = soup.find_all('h3',{'class':'cd__headline'}) for headline in top_headlines[:5]: print(headline.text)
null
What is the complexity class of the below Python code snippet for adding an item to a list?
list = [1, 2, 3] list.append(4)
The complexity class of this code snippet is O(1) since appending an item to a list has constant time complexity.
null
Refactor this line of code to make it more concise.
tasks = [t for t in tasks if t.completed == False]
tasks = [t for t in tasks if not t.completed]
null
null
null
null
Sue Barkerová Sue Barkerová (* 19. dubna 1956, Paignton, Spojené království) je bývalá britská profesionální tenistka a v současnosti sportovní komentátorka BBC. Do dějin světového tenisu se zapsala především jako vítězka Roland Garros roku 1976, kdy ve finále porazila československou tenistku Renátu Tomanovou. Roku 1...
Write a Python code to classify the following sentence
It's raining cats and dogs
import nltk from nltk.tokenize import word_tokenize sentence = "It's raining cats and dogs" tokens = word_tokenize(sentence) tagged = nltk.pos_tag(tokens) print(tagged) #[('It', 'PRP'), ("'s", 'VBZ'), ('raining', 'VBG'), ('cats', 'NNS'), ('and', 'CC'), ('dogs', 'NNS')]
null
Česky stručně: co dělá git clone?
`git clone` zkopíruje vzdálený repozitář k tobě na disk včetně historie.
null
Use PHP to convert a given number to binary.
function dec_to_bin($num) { $bin = ""; while($num>0) { $bin = ($num%2).$bin; $num= (int)($num/2); } return $bin; }
null
Stručně shrň článek o tématu „Cereálie“ a uveď hlavní fakta.
**Cereálie** Cereálie, neboli obiloviny, se dělí na celozrnné a necelozrnné. Obilovina ve formě obilky představuje hlavní produkt obilnin a současně je surovinou potravinářského průmyslu. Název cereálie je odvozen od římské bohyně Cerery. Při klasickém zpracování zrna se používá vymílací proces, při kterém se odstraní...
null
Summarize key facts about „John and William Merfold“ clearly and accurately.
**John and William Merfold** John and William Merfold were yeomen brothers in Sussex, England, in the mid 15th-century. Both were indicted in 1451 for publicly inciting the killing of the nobility and the clergy and the deposition of King Henry VI. They also advocated rule by common people. Minor uprisings spread thro...
null
Spočítej: 11 + 10 = ?
11 + 10 = 21
null
How can you sort a list in decending order in Python?
my_list = [4, 8, 19, 6, 17, 11] sorted_list = sorted(my_list, reverse=True)
null
null
null
null
Zapp Zapp (Zapp Band, Zap & Roger) je funková hudební skupina, založená v roce 1978 bratry Lesterem, Larrym, Rogerem, Tonym a Terrym Troutmanovými. Jejich hity jako "More Bounce to the Ounce", "Dance Floor, Part 1" či "Computer Love", pomohl ve vývoji West coast hip hopu a G-funku. především díky použití silně basovéh...
How could you write a PHP statement to make a string uppercase?
$string = strtoupper($string);
null
What is 24 - 6?
24 - 6 = 18
null
Write a function in JavaScript that returns the longest item in the array.
["a", "ab", "abc", "abcd"]
function longestItem(arr) { // Initializing the longest item to the first item in the array for comparison let longest = arr[0]; for (let item of arr) { // Comparing the length of each item to the longest if (item.length > longest.length) { longest = item; } } return longest; } console.log(longestItem(["a", "ab", "abc"...
null
Summarize key facts about „Orthrosanthus“ clearly and accurately.
**Orthrosanthus** Orthrosanthus is a genus of flowering plants in the family Iridaceae first described as a genus in 1827. It is native to Australia, Mexico, Central and South America. The genus name is derived from the Greek words orthros, meaning "morning", and anthos, meaning "flower". They are known commonly as mo...
null
Spočítej 18×5
18 × 5 = 90
null
Create a program that outputs the results of an election.
votes = [("A", 55), ("B", 43), ("C", 21)]
votes = [("A", 55), ("B", 43), ("C", 21)] total = 0 for name, count in votes: total += count for name, count in votes: print("{}: {:.2f}%".format(name, count/total*100)) # Output: # A: 59.77% # B: 47.60% # C: 23.63%
null
Create a bash script to print the name of the directory the script was started from.
#!/bin/bash echo $(pwd)
null
Stručně shrň článek o tématu „Silikonový olej“ a uveď hlavní fakta.
**Silikonový olej** Silikonové oleje (polymerizované siloxany) jsou křemíkové analogy uhlíkových organických sloučenin a mohou tvořit (relativně) dlouhé a složité molekuly založené na křemíku namísto uhlíku. Řetězce jsou tvořeny střídáním atomů křemíku a kyslíku (...Si-O-Si-O-Si...) čili siloxany namísto uhlíkových at...
null
null
null
null
Edward Marsden The Rev. Edward Marsden (1869–1932) was a Canadian-American missionary and member of the Tsimshian nation who became the first Alaska Native to be ordained in the ministry. Early life He was born May 19, 1869, in Metlakatla, British Columbia, and became from his earliest years a protégé of that utopian ...
Create a web page that has a button to toggle a navigation bar.
<html> <head> <title>Menu toggle example</title> </head> <body> <h1>Toggle Menu</h1> <div id="menu-container"> <a href="link1.html">Link 1</a> <a href="link2.html">Link 2</a> <a href="link3.html">Link 3</a> </div> <button id="toggle-menu">Toggle Menu</button> <script> let toggleButton = document.getElementById('toggle-...
null
Using CSS, apply the following style to a paragraph element. Make the font size 200%, the font color red, and the font family 'Montserrat'.
p { font-size: 200%; color: red; font-family: 'Montserrat'; }
null
Suggest code to add an item to the end of a given list.
list1 = [1, 2, 3]
list1 = [1, 2, 3] list1.append(4)
null
Stručně shrň článek o tématu „Hendrik Bulthuis“ a uveď hlavní fakta.
**Hendrik Bulthuis** Hendrik Bulthuis (* 1865 – 1945) byl nizozemský celní úředník, autor a překladatel. Jeho více než 30 děl je psáno esperantem. Měl pozoruhodný vypravěčský talent. Dílo Jeho původní romány (v esperantu): Offspring of Orpheus (eo:Idoj de Orfeo (1923)), Joseph and Potifer's Wife (eo:Jozefo kaj la edzi...
null
Stručně shrň článek o tématu „Únos Betty a Barneyho Hillových“ a uveď hlavní fakta.
**Únos Betty a Barneyho Hillových** Betty a Barney Hillovi tvořili americký manželský pár, který v roce 1961 ohlásil pozorování mimozemského objektu. O několik let později byla zveřejněna nová verze událostí na základě jejich výpovědí v hypnóze, podle které se stali oběťmi únosu na palubu mimozemské lodi. Jedná se o p...
null
Spočítej: 14 + 13 = ?
14 + 13 = 27
null
null
null
null
Zulfija Činšanlová Zulfija Činšanlová, Зүлфия Чиншанло, 赵常玲 (* 25. července 1993, Almaty) je kazašská reprezentantka ve vzpírání, soutěží ve váze do 53 kilogramů. V roce 2009 se v Kojangu stala vůbec nejmladší mistryní světa v dějinách tohoto sportu. Prvenství zopakovala na Mistrovství světa ve vzpírání 2011 v Paříži....
Summarize key facts about „Kumbungu“ clearly and accurately.
**Kumbungu** Kumbungu is a town in the Kumbungu District of the Northern Region of Ghana. Kumbungu is the capital of Kumbungu district. As of 2010, fertility rate in Kumbungu stood at 3.6 (above the national average of 3.5) and had a total population of 39,341 with an almost equal ratio of females to males. Kumbungu h...
null
How would you print the following JSON data?
{ "name": "John Doe", "age": 20, "city": "New York" }
const data = { "name": "John Doe", "age": 20, "city": "New York" }; console.log(`Name: ${data.name}, Age: ${data.age}, City: ${data.city}`);
null
Summarize key facts about „Elliot Minchella“ clearly and accurately.
**Elliot Minchella** Elliot Minchella (born 28 January 1996) is an English professional rugby league footballer who plays as a or for Hull Kingston Rovers in the Betfred Super League. He previously played for the Leeds Rhinos in the Super League, and on loan from Leeds at the London Broncos in the Championship. Minche...
null
Generate a correct SQL query to retreive a subset of rows in a table
Table Name: students Condition: Retrieve rows where the student grade is greater than 80
SELECT * FROM students WHERE grade > 80;
null
Create a JavaScript statement to set the margin of an element with class "myclass" to 0.
document.querySelector('.myclass').style.margin = '0';
null
Stručně shrň článek o tématu „Fosforan“ a uveď hlavní fakta.
**Fosforan** Fosforan (systematický název λ5-fosfan) je hypotetická sloučenina pětivazného fosforu a vodíku, od níž jsou odvozeny organické deriváty souhrnně označované fosforany. Stabilním derivátem fosforanu je například pentafenylfosforan. Molekuly fosforanů mají tvar trigonální bypiramidy, přičemž dvě vazby směřuj...
null
Write a function in Python to calculate the length and breadth of a given rectangle.
def calculate_rectangle_length_and_breadth(x, y): length = x breadth = y return length, breadth
null
Extract the text from a given HTML document.
<html> <head><title>My title</title></head> <body> <h1>Hello, world!</h1> <p>This is a sample HTML document.</p> </body> </html>
from bs4 import BeautifulSoup html_doc = "" <html> <head><title>My title</title></head> <body> <h1>Hello, world!</h1> <p>This is a sample HTML document.</p> </body> </html> "" soup = BeautifulSoup(html_doc, 'html.parser') print(soup.get_text()) #Output Hello, world! This is a sample HTML document.
null
Ahoj! tam?
Ahoj! Jsem tu pro kód, vysvětlení i češtinu.
null
Compile and run the following Java code.
public class Main { public static void main(String[] args) { System.out.println("Hello, world!"); } }
<noinput> Output: Hello, world!
null
Stručně shrň článek o tématu „Goll“ a uveď hlavní fakta.
**Goll** Příjmení Goll nosí tyto osobnosti: Ada Goll, známější pod jménem Nataša Gollová, česká herečka, vnučka Jaroslava Edward Goll (1884–1949), česko-australský pianista a učitel hudby Jaroslav Goll (1846–1929), český historik a pedagog, děd Nataši Gollova škola českých historiků Josef Goll (1864–1924), českoněmeck...
null
Create an HTML table to visualize the following list of data:
[ ['name', 'age', 'country'], ['John', 35, 'United States'], ['Sarah', 21, 'United Kingdom'] ]
<table> <tr> <th>name</th> <th>age</th> <th>country</th> </tr> <tr> <td>John</td> <td>35</td> <td>United States</td> </tr> <tr> <td>Sarah</td> <td>21</td> <td>United Kingdom</td> </tr> </table>
null
Summarize key facts about „Rough River (New Zealand)“ clearly and accurately.
**Rough River (New Zealand)** The Rough River, alternatively known as the Otututu River is a river of the West Coast Region of New Zealand's South Island. A major tributary of the Grey River, it flows south from its sources near Mount Uriah in the Paparoa Range 20 kilometres southeast of Charleston, to reach the Grey ...
null
Design a web page in HTML5 with a heading, a paragraph and a button.
<!DOCTYPE html> <html> <head> <title>My Web Page</title> </head> <body> <h1>This is my title</h1> <p>This is some content.</p> <button>Click Me!</button> </body> </html>
null
null
null
null
Haycock (Lake District) Haycock is a mountain in the western part of the English Lake District. It rises between Scoat Fell and Caw Fell to the south of Ennerdale and the north of Wasdale. Haycock is an imposing dome-shaped fell, its popularity with walkers diminished somewhat by its remoteness. It can be climbed from...
Create a sass function to change the text color of a web page
@function text-color($text-color, $background-color) { // Calculate how much Black and White needs to be in the text to be readable $res: 0; $black: 0; $white: 0; @if (lightness($background-color) > 50) { // Use black on light backgrounds $black: 100%; $white: (1 - ( (255 - ( lightness($text-color) * 2.55)) / ( lightne...
null
Jak funguje for cyklus?
For prochází sekvenci prvek po prvku. V Pythonu: `for x in items: ...`. V C-like jazycích často `for (init; cond; step)`.
null
Summarize key facts about „1977 South Dakota Coyotes football team“ clearly and accurately.
**1977 South Dakota Coyotes football team** The 1977 South Dakota Coyotes football team represented the University of South Dakota in the 1977 NCAA Division II football season as a member of the North Central Conference (NCC). Led by third-year coach Beanie Cooper, the Coyotes compiled an overall record of 4–7 and a m...
null
Summarize key facts about „Painters and Dockers“ clearly and accurately.
**Painters and Dockers** Painters and Dockers are a rock band formed in Melbourne, Australia, in 1982. Paul Stewart, singer-songwriter and trumpet player, Dave Pace (vocals and trumpet) and Mick Morris (vocals and sax) are all original members in the band which was named for the Federated Ship Painters and Dockers Uni...
null
null
null
null
Tlakový hrnec Tlakový hrnec (též Papinův hrnec, odtud hovorově papiňák) je silnostěnný hrnec sloužící k vaření za vyššího tlaku (280–300 kPa), než je běžný atmosférický tlak. Vyšším tlakem se dosáhne vyšší teploty vaření (120 °C až 130 °C, teplota varu vody za normálního tlaku je asi 100 °C), a tím i rychlejšího uvaře...
null
null
null
Kytarový efekt Kytarový efekt je elektronické zařízení, které upravuje signál elektrické kytary vedený do zesilovače. Původní signál má tvar sinusoidy, ovšem kytarové efekty jej různě deformují, slangově „mrší“, proto jsou nazývány „mršítka“ nebo podle tvaru „krabičky“ či „pastičky“. V zahraničí se pro kytarový efekt ...
null
null
null
Ciara Ní É Ciara Ní É is a bilingual Irish poet, writer and television presenter. Biography Ciara Ní É was born in Clontarf, Dublin. Though not raised speaking Irish, Ní É went to Coláiste Chamuis, Rossaveel in the Gaeltacht, the Irish speaking parts of Ireland, during her secondary school summers. She completed a deg...
Stručně shrň článek o tématu „Aloys Skoumal“ a uveď hlavní fakta.
**Aloys Skoumal** Aloys Skoumal (19. června 1904 Pačlavice, okres Kroměříž – 4. července 1988 Praha) byl český literární kritik a překladatel z němčiny a především z angličtiny. Biografie Studoval Arcibiskupské gymnázium v Kroměříži (1915–1922), filozofii a anglistiku na pražské univerzitě (1923–1928) a Vyšší knihovni...
null
Stručně shrň článek o tématu „Pio z Pietrelciny“ a uveď hlavní fakta.
**Pio z Pietrelciny** Svatý Pio z Pietrelciny (někdy též jen Pater Pio či Otec Pio) (25. května 1887, Pietrelcina, Itálie – 23. září 1968, San Giovanni Rotondo, Itálie) byl italský kněz a světec, který byl známý zejména pro svá stigmata. Je mu taktéž přisuzováno mnoho zázraků, např. jasnovidectví nebo bilokace. Narodi...
null
Stručně shrň článek o tématu „Holubářství“ a uveď hlavní fakta.
**Holubářství** Holubářství je nauka a umění chovu holuba domácího. Je to obor zemědělské výroby, jejímž produktem je zejména holubí maso, užitkové zaměření holubářství je základním a nejstarším chovatelským směrem holubářství. Již od poloviny 20. století v Česku postupně nad užitkovým chovem převažuje okrasný chov ho...
null
null
null
null
Tolerance (rozcestník) Tolerance může být: tolerance – odborný pojem užívaný ve filosofii, psychologii, sociologii, politice a společenském životě; snášenlivost v oblasti víry a světonázoru tolerance (technika) – rozsah přípustných hodnot (povolená nepřesnost) sledované veličiny, např. rozměrů, v technice remedium – v...
null
null
null
Ibn Hindu Abū Al-Faraj ʿAlī ibn al-Husayn ibn Hindū (d. 1032) was a Persian poet, a man of letters, and a practitioner of Galenic medicine coming from Rey. Scholars have posited multiple explanations for his name, including that he was Persian and from Hindujān, his possible Indian heritage, and that he was an Arab de...
Create a code to read a textfile line by line and print out the lines that have the word "Python".
with open('textfile.txt') as f: for line in f: if 'Python' in line: print(line)
null
null
null
null
Nicolaas Heinsius mladší Nicolaas Heinsius mladší, také Nicolaes, Nicolas, Nikolaus, (1656, Den Haag – 12. ledna 1718 Culemborg v nizozemské provincii Gelderland), byl nizozemský spisovatel a lékař. Život a dílo Nicolaas Heinsius patřil do známé umělecké rodiny Heinsiů (otec Nicolaas byl známým básníkem, děd Daniel He...
Stručně shrň článek o tématu „Gabriel Blažek“ a uveď hlavní fakta.
**Gabriel Blažek** Gabriel Blažek (20. září 1842 Borovnice u Chocně – 6. prosince 1910 Praha) byl český matematik, politik a bankéř. Biografie Studoval na gymnáziích v Mostě a Žatci, pak v Praze na Malé Straně. V letech 1860–63 na pražské univerzitě. Byl jedním ze zakladatelů Spolku pro volné přednášky z matematiky a ...
null
Convert the following block of code into a more concise version using more appropriate looping mechanisms.
myList = ["one", "two", "three", "four"] newList = [] for element in myList: newList.append(element[0])
myList = ["one", "two", "three", "four"] newList = [element[0] for element in myList]
null
Create a user interface to display a chart showing the number of people of a certain gender and age group.
Sample JSON data to be used: [ { "name": "John", "age": 25, "gender": "male" }, { "name": "Jane", "age": 22, "gender": "female" }, { "name": "Bob", "age": 28, "gender": "male" }, { "name": "Jill", "age": 24, "gender": "female" } ]
import json import plotly.graph_objs as go def create_chart(): data = json.load('data.json') males = 0 females = 0 male_ages = [0] * 100 females_ages = [0] * 100 # count males/females and age group for person in data: if person['gender'] == 'male': males += 1 age = int(person['age']) male_ages[age] += 1 else: females +...
null