instruction
stringlengths
2
259
⌀
input
stringlengths
0
442
⌀
output
stringlengths
1
1.9k
⌀
text
stringlengths
273
2.08k
⌀
Edit the text below and print a new sentence using the same words.
The moon is bright and beautiful.
Beautiful and bright, the moon shines.
null
Co je open source? (stručně)
Open source znamená, že je dostupný zdrojový kód a licence dovoluje studium i úpravy.
null
Write a C++ program to insert an element into a given vector.
#include <iostream> #include <vector> void InsertElement(std::vector<int> &vec, int element, int index) { vec.insert(vec.begin() + index, element); // Print vector after inserting element std::cout << "Vector elements after insertion: "; for (int i = 0; i < vec.size(); ++i) std::cout << vec[i] << " "; std::cout << std:...
null
null
null
null
Slepé pleso Slepé pleso je zanikající jezero v Mlynické dolině ve Vysokých Tatrách na Slovensku. Zarůstající vodní plocha má rozlohu 0,9651 ha. Je 152 m dlouhé a 101 m široké. Leží v nadmořské výšce 1375 m. Okolí Nachází se ve vzdálenosti 100 m severozápadně od Štrbského plesa přibližně o 30 m výše za úzkým morénovým ...
Napiš JS: vrať pole čísel 1..1.
```javascript const nums = Array.from({length: 1}, (_, i) => i + 1); ```
null
Napiš v JavaScriptu: query sel.
```javascript const $ = sel => document.querySelector(sel); ```
null
Summarize key facts about „Joe A. Callaway Award for Civic Courage“ clearly and accurately.
**Joe A. Callaway Award for Civic Courage** The Joe A. Callaway Award for Civic Courage is presented annually by The Shafeek Nader Trust for the Community Interest. The Callaway Award "recognizes individuals who take a public stance to advance truth and justice, at some personal risk". The award was established by in ...
null
Stručně shrň článek o tématu „Vzhůru nohama“ a uveď hlavní fakta.
**Vzhůru nohama** Vzhůru nohama může být: obráceně (hlavou dolů, nohama nahoru) v kultuře Alice vzhůru nohama, francouzsko-americká filmová komedie z roku 2007, režie:Sandy Tung Film v nedbalkách a vzhůru nohama, humoristická kniha o filmu a filmařích z roku 1948, autoři: Rudolf Jaroš, Milan Noháč Vzhůru nohama (film,...
null
Write Scala code for a hello world.
I don't cover Scala. I can do Python, JavaScript, HTML, or PHP instead.
null
Summarize key facts about „Waitaha River“ clearly and accurately.
**Waitaha River** The Waitaha River is a river of the West Coast region of New Zealand's South Island. Waitaha is Māori and it literally means wai a river or stream taha to be passed on one side. It was named by the Waitaha, an early South Island iwi (tribe or nation) who named a number of South Island places. It flow...
null
Generate C code to swap two integers without using a third variable.
void swap_int(int * x, int * y) { *x = *x ^ *y; *y = *x ^ *y; *x = *x ^ *y; }
null
What is the purpose of the "if-else" statement in JavaScript?
The if-else statement is a control statement in JavaScript that is used to execute a block of code if a certain condition is true, and a different block of code if the condition is false. It is a type of decision-making statement which allows a program to execute a certain code depending on a certain condition.
null
Summarize key facts about „Wairakei River“ clearly and accurately.
**Wairakei River** The Wairakei River or Wairakei Stream is a river of the Waikato Region of New Zealand's North Island. It flows southeast to meet the Waikato River, which it does at the town of Wairakei, 10 kilometres north of Taupō. See also List of rivers of New Zealand References Taupō District Rivers of Waikato ...
null
Oprav češtinu: napsal jsem kod
Napsal jsem kód.
null
Stručně shrň článek o tématu „Viskozita“ a uveď hlavní fakta.
**Viskozita** Viskozita (také vazkost) je fyzikální veličina udávající poměr mezi tečným napětím a změnou rychlosti v závislosti na vzdálenosti mezi sousedními vrstvami při proudění skutečné kapaliny. U pevných látek se viskozita projevuje různou deformační odezvou v závislosti na délce trvání působení zatížení (při d...
null
Calculate the difference between two given dates in terms of days.
date1 = "2020-5-15" date2 = "2020-6-20"
from datetime import datetime date1 = datetime.strptime(date1, "%Y-%m-%d") date2 = datetime.strptime(date2, "%Y-%m-%d") difference = date2 - date1 print(difference.days) # 36
null
Napiš SQL: vyber 16 nejnovějších objednávek z tabulky orders.
```sql SELECT * FROM orders ORDER BY created_at DESC LIMIT 16; ```
null
Stručně shrň článek o tématu „Markíza Doma“ a uveď hlavní fakta.
**Markíza Doma** Markíza Doma je soukromá slovenská televizní stanice programově zaměřena na cílovou skupinu mladých aktivních lidí ve věku 12–54 let. Zároveň je to v pořadí druhá televize vysílající na Slovensku, která patří skupině CME. Markíza Doma vysílá 24 hodin denně. V roce 2014 byla Markíza Doma 4.–5. nejsledo...
null
Write MATLAB code to generate a 2-D array called "A" and fill it with random numbers.
A = rand(3,3);
null
Write a JavaScript program to remove all characters from a string that appear more than once.
string = "abbccddee"
let string = "abbccddee"; let res = ""; let seen = {}; for (let letter of string) { if (!seen[letter]) { res += letter; seen[letter] = true; } } console.log(res); //Output is: abcde
null
Stručně shrň článek o tématu „Elliott Murphy“ a uveď hlavní fakta.
**Elliott Murphy** Elliott Murphy (* 16. března 1949 Rockville Centre, New York, USA) je americký písničkář a spisovatel. Na kytaru začal hrát ve svých dvanácti letech. Začínal v kapele The Rapscallions a své první sólové album nazvané Aquashow vydal v roce 1973. Později vydal řadu dalších alb, v roce 2001 například L...
null
Stručně shrň článek o tématu „Hip-hop soul“ a uveď hlavní fakta.
**Hip-hop soul** Hip hop soul je podžánr contemporary R&B. Žánr se vyznačuje soulově orientovaným zpěvem s elementy hip hop produkce. Žánr představuje most mezi new jack swingem a neo soulem. Mezi královny hip-hop soulu mimo jiné patří Mary J. Blige, Aaliyah či Jodeci. Někteří hiphop souloví umělci jsou populární i dn...
null
Create a Java method that takes three integers as parameters and computes their average.
public static double threeIntAvg(int a, int b, int c) { return (a + b + c) / 3.0; }
null
Who wrote Romeo and Juliet?
William Shakespeare.
null
Write a TensorFlow script to build a 3-layer neural network classifier.
import tensorflow as tf #Create placeholders X = tf.placeholder(tf.float32, [None, 784]) y = tf.placeholder(tf.float32, [None, 10]) #Create first layer W1 = tf.Variable(tf.truncated_normal([784, 300], stddev=0.1)) b1 = tf.Variable(tf.zeros([300])) A1 = tf.nn.relu(tf.add(tf.matmul(X, W1), b1)) #Create second layer W2 = ...
null
Write a code snippet using Python to print the following sentence "Programming is fun!".
print("Programming is fun!")
null
Write a PL/SQL query to display the sum of salaries of all the employees in a given department.
SELECT SUM(salary) FROM employees WHERE department = 'department_name';
null
Stručně shrň článek o tématu „Droga wojewódzka 501“ a uveď hlavní fakta.
**Droga wojewódzka 501** Droga wojewódzka 501 (DW 501) je silnice v severopolském Pomořském vojvodství spojující vesnici Przejazdowo poblíž Gdaňsku a Piaski. Zajišťuje jediné dopravní spojení Viselské kosy se zbytkem země. Její délka je 60 km. Externí odkazy Silnice v Polsku Doprava v Pomořském vojvodství Stavby v Pom...
null
Stručně shrň článek o tématu „Hymna Německé demokratické republiky“ a uveď hlavní fakta.
**Hymna Německé demokratické republiky** Auferstanden aus Ruinen byla hymna bývalé NDR. Slova napsal básník a pozdější ministr kultury Johannes Robert Becher, autorem melodie je Hanns Eisler. Poprvé píseň zazněla 4. listopadu 1949. V roce 1958 obvinil západoněmecký časopis Welt am Sonntag Eislera, že v této hymně vykr...
null
Create a class in Python named ``Rectangle`` with two attributes length and width.
class Rectangle: def __init__(self, length, width): self.length = length self.width = width
null
Stručně shrň článek o tématu „Trélazé“ a uveď hlavní fakta.
**Trélazé** Trélazé je francouzská obec v departementu Maine-et-Loire v regionu Pays de la Loire. V roce 2010 zde žilo 12 384 obyvatel. Antukový dvorec v městské aréně Loire se stal dějištěm dubnového semifinále světové skupiny Fed Cupu 2016 mezi Francií a Nizozemskem, které francouzské reprezentantky vyhrály 3:2 na z...
null
Write code in Java to sort an array of integers in ascending order.
[5, 2, 8, 10, 4, 9]
public static void sortAscending(int[] arr) { for(int i = 0; i < arr.length - 1; i++) { int min = i; for (int j = i + 1; j < arr.length; j++) { if (arr[j] < arr[min]) { min = j; } } int tmp = arr[i]; arr[i] = arr[min]; arr[min] = tmp; } }
null
Use try-except statements to detect and handle exceptions in the code.
for i in range(n): x = 1/i
try: for i in range(n): x = 1/i except ZeroDivisionError: print("Zero division error encountered!")
null
Stručně shrň článek o tématu „Macudo (rozcestník)“ a uveď hlavní fakta.
**Macudo (rozcestník)** Macudo může znamenat: sídlo Macudo - (: 松戸市; Macudo-ši) město v prefektuře Čiba na ostrově Honšú Macudo (městys) - (: 松戸町; Macudo-mači) zaniklý (1943) městys, nyní na území města Macudo příjmení Naoki Macudo (松戸 直樹, *1973) - závodník motorkář Šina Macudo (松戸 思奈, *1973) - japonská plavkyně volno...
null
Sort the following items in O(n log n) time complexity.
[2, 5, 4, 3, 9]
[2, 3, 4, 5, 9]
null
Spočítej 10×9
10 × 9 = 90
null
Stručně shrň článek o tématu „Římskokatolická farnost – děkanství Lipová“ a uveď hlavní fakta.
**Římskokatolická farnost – děkanství Lipová** Římskokatolická farnost – děkanství Lipová (lat. Hainspachium) je církevní správní jednotka sdružující římské katolíky na území obce Lipová a v jejím okolí. Organizačně spadá do děčínského vikariátu, který je jedním z 10 vikariátů litoměřické diecéze. Centrem farnosti je ...
null
Write a predicate function to check whether the given string is palindrome.
function isPalindrome(str) { str = str.toLowerCase(); for (let i = 0; i < str.length / 2; i++) { if (str[i] !== str[str.length - 1 - i]) return false; } return true; }
null
Write a code to generate a random password containing at least one symbol, one number, one lowercase letter and one uppercase letter
import string import random def generate_password(length): symbols = string.punctuation numbers = string.digits lowercase = string.ascii_lowercase uppercase = string.ascii_uppercase characters = symbols + numbers + lowercase + uppercase password = random.choice(symbols) + random.choice(numbers) + random.choice(lowercas...
null
What is a promise?
A Promise represents a future value from async work. It becomes fulfilled with a result or rejected with an error. Use then/catch or async/await.
null
Create a Python code for printing the following pattern.
# Pattern for i in range(1,6): for j in range(1,i+1): print(i,end="") print("")
null
Write a function in C# to insert a character into a string at a given index.
public static string InsertCharAtIndex(string s, char c, int index) { return s.Substring(0, index) + c + s.Substring(index); }
null
Kolik je 2 × 11?
2 × 11 = 22
null
Write a Java program to print out the first n prime numbers
public static void printPrimeNumbers(int n) { int num; int count=0; for (int i = 2; i <= n;) { num=0; for (int j = 2; j <= i / 2; j++) { if (i % j == 0) { num++; break; } } if (num == 0) { System.out.print(i+" "); count++; } i++; } }
null
Napiš Python funkci factorial(n).
```python def factorial(n: int) -> int: if n < 0: raise ValueError("n >= 0") r = 1 for i in range(2, n + 1): r *= i return r ```
null
Stručně shrň článek o tématu „Altenburský bublák“ a uveď hlavní fakta.
**Altenburský bublák** Altenburský bublák, též polní bublák je plemeno holuba domácího pocházející z Německa, oblastí jeho původu Sasko a Durynsko. Je to vzhledem nenápadný holub, který se příliš neliší od divokého holuba skalního, jeho zvláštností hlasový projev, tzv. bublání. Je to vrkání přeměněné na dlouhotrvající...
null
Summarize key facts about „Lines (song)“ clearly and accurately.
**Lines (song)** "Lines" is a song written by the American singer-songwriter Jerry Fuller, first recorded by the American pop group The Walker Brothers as their twelfth UK single in 1976. Fuller later recorded and released his own version to some minor success in the US (#90) and Canadian Country charts in 1979. The W...
null
null
null
null
Pärsti (obec) Obec Pärsti (estonsky Pärsti vald) byla samosprávná obec náležející do estonského kraje Viljandimaa. Území obce se nacházelo přibližně uprostřed kraje, bezprostředně západně od krajského města Viljandi. Na východě sousedila kromě města Viljandi ještě s obcemi Saarepeedi a Viiratsi, na severu s obcí Suure...
Design a key-value database with Python for storing course information.
The database should contain the following fields: Course Name, Course ID, Course Description and Course Instructor.
import sqlite3 conn = sqlite3.connect('database.db') c = conn.cursor() # Create table c.execute('CREATE TABLE Course (course_name TEXT, course_id TEXT, course_description TEXT, course_instructor TEXT)') # Save (commit) the changes conn.commit() # Close the connection conn.close()
null
Summarize key facts about „Tan Bela“ clearly and accurately.
**Tan Bela** Tan Bela (, also Romanized as Tan Belā and Tonbolā) is a village in Dasht-e Kenar Rural District of the Central District of Simorgh County, Mazandaran province, Iran. At the 2006 National Census, its population was 406 in 104 households, when it was in Kiakola Rural District of the former Kiakola District...
null
Create an HTML page which displays Hello World in the center of the page.
<!DOCTYPE html> <html> <head> <title>Hello World</title> <style> body { display: flex; justify-content: center; align-items: center; margin: 0; } </style> </head> <body> <h1>Hello World</h1> </body> </html>
null
Summarize key facts about „Aspasmichthys“ clearly and accurately.
**Aspasmichthys** Aspasmichthys is a genus of clingfishes from the western Pacific Ocean. Species There are currently two recognized species in this genus: Aspasmichthys alorensis G. R. Allen & Erdmann, 2012 Aspasmichthys ciconiae (D. S. Jordan & Fowler, 1902) References Gobiesocidae
null
Co je unit test?
Unit test ověřuje malou část kódu (funkci/metodu) automaticky a opakovatelně.
null
Summarize key facts about „Kirsch equations“ clearly and accurately.
**Kirsch equations** The Kirsch equations describe the elastic stresses around the hole in an infinite plate in one directional tension. They are named after Ernst Gustav Kirsch. Result Loading an infinite plate with circular hole of radius a with stress σ, the resulting stress field is: References Kirsch, 1898, Die T...
null
Stručně shrň článek o tématu „Square Taras-Chevtchenko“ a uveď hlavní fakta.
**Square Taras-Chevtchenko** Square Taras-Chevtchenko je square v Paříži v 6. obvodu. Jeho rozloha činí 436 m2. Poloha Square se rozkládá na Boulevardu Saint-Germain u křižovatky s ulicí Rue des Saints-Pères v těsné blízkosti katedrály svatého Vladimíra Velikého, která slouží ukrajinské řeckokatolické církvi v Paříži....
null
null
null
null
Victor Smalley Victor Herbert Smalley (died December 20, 1910) was a writer, reporter and promoter who worked at newspapers, songwriting, and playwriting in the United States. In 1907 he wrote "That Lovin' Rag" with music by Bernie Adler. He died at age 32 of appendicitis. Victor Records recorded The Peerless Quartet ...
null
null
null
Nix (package manager) Nix is a cross-platform package manager that uses a deployment model where software is installed into unique directories generated through cryptographic hashes. It is also the name of the tool's programming language. A package's hash takes into account the dependencies, which is claimed to elimin...
Stručně shrň článek o tématu „Supernova“ a uveď hlavní fakta.
**Supernova** Termín supernova nebo výbuch supernovy (exploze supernovy) se v astronomii vztahuje k několika typům hvězdných explozí, kterými vznikají extrémně jasné objekty složené z plazmatu, jejichž jasnost nakonec v průběhu týdnů či měsíců opět o mnoho řádů klesá. K explozi vedou dvě možné cesty: - jedná se o masi...
null
Rearrange the elements of the list in ascending order.
my_list = [8, 1, 3, 5, 4, 9]
my_list.sort()
null
Mluv italsky.
Tohle jazyk spolehlivě neovládám. Můžu česky nebo anglicky.
null
Summarize key facts about „Terrick (disambiguation)“ clearly and accurately.
**Terrick (disambiguation)** Terrick is a hamlet in Buckinghamshire, England. Terrick may also refer to: a hamlet in the Shire of Loddon, Victoria, Australia Terrick Terrick National Park, Victoria, Australia People with the surname Richard Terrick (1710–1777), Church of England clergyman and bishop of London Samuel T...
null
null
null
null
Stevan Mirković Stevan Mirković (v srbské cyrilici Стеван Мирковић; 27. října 1927, Valjevo, Království Srbů, Chorvatů a Slovinců – 26. září 2015, Bělehrad) byl účastník jugoslávského partyzánského boje, voják Jugoslávské lidové armády. V roce 1944 vstoupil do řad partyzánů a také do komunistické strany. Bojoval na Sr...
Create a function which takes in an array and returns a list of all the elements which appear only once in the array.
def find_unique_elements(arr): unique_elements = [] for elem in arr: if arr.count(elem) == 1: unique_elements.append(elem) return unique_elements
null
null
null
null
Marcus Curtiss Inn The Marcus Curtiss Inn is a historic house and post office located near Galena in Genoa Township, Delaware County, Ohio, United States. A native of Connecticut, Curtiss moved to present-day Genoa Township in 1808, becoming the first settler in the area, along with his family, his brother's family, a...
Vymysli odpověď v japonštině.
Japonštinu neumím. Můžu odpovědět česky nebo anglicky.
null
Create a PHP class called "Car" with public member variables.
class Car { public $make; public $model; public $color; public $year; public function __construct($make, $model, $color, $year) { $this->make = $make; $this->model = $model; $this->color = $color; $this->year = $year; } }
null
Stručně shrň článek o tématu „Alenconská krajka“ a uveď hlavní fakta.
**Alenconská krajka** Alencon je jemná šitá krajka ze lněné příze. Označení pochází od stejnojmenného města v Normandii, kde byla vyvinuta koncem 17. století jako reprodukce, resp. zdokonalení benátské krajky. Zhotovení krajky bylo mimořádně nákladné. Původně se na výrobě jedné krajky podílelo až 18 pracovnic, každá z...
null
Create a Python script that find the number of occurrences of a specific word in a given sentence.
This is a sample sentence.
sentence_input = "This is a sample sentence." def count_keyword(sentence_input, keyword): return sentence_input.lower().count(keyword.lower()) count = count_keyword(sentence_input, "sentence") print("The word 'sentence' occurs " + str(count) + " times.")
null
null
null
null
Dráha Dráha je slovo slovanského původu, označující původně (v podobě „dorga“, česky draha) cestu mezi poli, kterou se vyháněl dobytek, tj. průhon. Podle jiného zdroje slovo „draha“ pro označení cest nižší kvality je odvozeno od slovesa „dražání“, které znamenalo mýcení a klučení dřevin. V dnešní době má například tyt...
Find the largest integer in this list?
[1, 4, 9, 3, 5]
largest_integer = max([1, 4, 9, 3, 5]) print(largest_integer) # Output: 9
null
Summarize key facts about „Elmer Pillon“ clearly and accurately.
**Elmer Pillon** Elmer Pillon is a Canadian professional vert skater. Pillon earned his professional status in 2002 with a Bronze medal. He also got a 12th place in the Pro Circuit in Los Angeles California in 2003. and was ranked number six in the world for Vert Skating in 2004 with 1161 points. Pillon has a degree i...
null
Solve the following linear programming problem: Maximize x + y Subject to: 2x + 3y ≤ 120 x + 2y ≤ 100 x ≥ 0, y ≥ 0
The solution of this Linear Programming problem is x = 40 and y =
null
null
null
null
Římskokatolická farnost Kytlice Římskokatolická farnost Kytlice (lat. Falkenavia) je církevní správní jednotka sdružující římské katolíky na území obce Kytlice a v jejím okolí. Organizačně spadá do děčínského vikariátu, který je jedním z 10 vikariátů litoměřické diecéze. Centrem farnosti je kostel svatého Antonína Pad...
Create a switch-case statement for a shopping cart to print out the items and their prices.
Item1: $25.00 Item2: $13.50 Item3: $3.99
def items_and_prices(item1, item2, item3): switch = { 'item1': item1, 'item2': item2, 'item3': item3 } for key, value in switch.items(): print(key + ": " + str(value)) items_and_prices(25.00, 13.50, 3.99)
null
Modify the given line of code to print the message "Hello World!"
print("Good Luck!")
print("Hello World!")
null
Create a SQL query that returns the sum of all the numbers in the "num" column.
SELECT SUM(num) FROM table_name
null
Ahoj
Ahoj! Jsem tu pro kód, vysvětlení i češtinu.
null
Hello!
Ahoj! Co potřebuješ vyřešit?
null
null
null
null
Personal record A personal best (abbreviated to PB) is an individual's best performance in a given sporting discipline. It is most commonly found in athletic sports, such as track and field, other forms of running, swimming and weightlifting. The term came from the world of running, referring to a person's best time i...
Summarize key facts about „Hennil“ clearly and accurately.
**Hennil** Hennil or Bendil is an alleged agrarian Slavic god worshipped by the Polabian Slavs. He was mentioned by Bishop Thietmar in his Chronicle as a god who was represented by a staff crowned by a hand holding a ring, which is interpreted as a symbol of fertility. However, there is no general consensus on the aut...
null
Vysvětli OOP česky.
Objektově orientované programování modeluje svět jako objekty: třídy definují šablonu, objekty jsou instance. Důležité koncepty: zapouzdření, dědičnost, polymorfismus.
null
Write a Python function `count_vowels` that spočítej samohlásky v textu.
```python def count_vowels(s: str) -> int: vowels = set("aeiouyáéíóúůýAEIOUYÁÉÍÓÚŮÝ") return sum(1 for ch in s if ch in vowels) ```
null
Stručně shrň článek o tématu „Neuilly-sur-Seine“ a uveď hlavní fakta.
**Neuilly-sur-Seine** Neuilly-sur-Seine (výslovnost: [nœji syʀ sɛn]) je město ležící na severozápadní hranici Paříže (asi 6,8 km od centra); spadá pod departement Hauts-de-Seine, region Île-de-France. Spolu se 6., 7. a 8. obvodem patří k nejhustěji obydleným čtvrtím Paříže a obydleným obcím v Evropě. Geografie Město s...
null
Kolik je 16 × 5?
16 × 5 = 80
null
null
null
null
John Gosden John Gosden (* 30. března 1951 Lewes, Sussex, Anglie) je anglický dostihový trenér. Důležité výhry Dubaj Dubai Sheema Classic – (1) – Dar Re Mi (2010) Spojené království 1,000 Guineas Stakes – (1) – Lahan (2000) Cheveley Park Stakes – (1) – Prophecy (1993) Coronation Stakes – (2) – Nannina (2006), Fallen F...
Summarize key facts about „John Stephenson (physician)“ clearly and accurately.
**John Stephenson (physician)** John Stephenson (December 12, 1796 – February 2, 1842) was a Canadian physician and educator, and one of the founders of the Montreal Medical Institution, the first medical school in Canada. He is regarded as one of the founders of McGill University Faculty of Medicine. Early days Steph...
null
null
null
null
Kinross, Prince Edward Island Kinross is a settlement in Prince Edward Island. It is named after Kinross in Scotland. It is within the census subdivision of Lot 57, Prince Edward Island. Kinross borders three other communities: Uigg, Orwell, and Lyndale. References Communities in Queens County, Prince Edward Island
Kolik je 13 - 3?
13 - 3 = 10
null
Stručně shrň článek o tématu „Julie Šupichová“ a uveď hlavní fakta.
**Julie Šupichová** Julie Šupichová (27. ledna 1884 – 20. prosince 1970) byla česká učitelka, spisovatelka a esperantistka. Vydavatelka bývalého časopisu Esperantský zpravodaj a autorka v časopisu Malý čtenář. Dílo 28 učebnic a brožur čítanka Legu kaj parolu Čeští esperantisté Čeští spisovatelé vědecké literatury Naro...
null
Generate a dynamic HTML table displaying 10 random numbers from 1 to 100.
<html> <head> </head> <body> <div> <table> <tr><th>Random Numbers</th></tr> <tr><td><?php echo rand(1,100); ?></td></tr> <tr><td><?php echo rand(1,100); ?></td></tr> <tr><td><?php echo rand(1,100); ?></td></tr> <tr><td><?php echo rand(1,100); ?></td></tr> <tr><td><?php echo rand(1,100); ?></td></tr> <tr><td><?php echo ...
null
Summarize key facts about „Declaration of Calton Hill“ clearly and accurately.
**Declaration of Calton Hill** The Declaration of Calton Hill can refer to several political statements, the most notable being a call in 2004 for an independent Scottish republic, led by the Scottish Socialist Party. Calton Hill overlooks Edinburgh, and features neo-classical architecture built at the time of the Sco...
null
Calculate the mean of the given array.
my_array = [2, 7, 6, 8, 4, 9]
mean = sum(my_array)/len(my_array) # Calculates the mean of the array
null
Create a Java program which calculates the area of a circle.
public class AreaCalculator { public static final double PI = 3.14159; public static double calculateArea(double radius) { return PI * radius * radius; } public static void main(String[] args) { System.out.println(calculateArea(10)); } }
null
Co je třída?
Třída je šablona pro objekty — definuje data (atributy) a chování (metody).
null
null
null
null
Hasubanan Hasubanan is an alkaloid with the chemical formula of C16H21N. It forms the central core of a class of alkaloids known collectively as hasubanans. The compound is derived from reticuline, as is morphinan, but is comparatively more oxidized and rearranged. It is similar to acutumine. Various alkaloids of this...
Stručně shrň článek o tématu „Tři ženy a lovec“ a uveď hlavní fakta.
**Tři ženy a lovec** Tři ženy a lovec (jiné názvy Zamilovaný lovec nebo Francouzský šlechtic ve špatné společnosti) je obraz Petra Brandla pocházející z počátku 20. let 18. století. Historie díla Zamilovaný lovec, obraz, za který dostal Petr Brandl v době před únorem roku 1721 od hraběte Františka Josefa Černína nezvy...
null
Translate to that language (čínsky): Good morning
Překlad do tohoto jazyka nezaručím. Anglicky: Good morning. Česky: Dobré ráno.
null
Summarize key facts about „Richard Percy“ clearly and accurately.
**Richard Percy** Sir Richard Percy (died 1648) was an English soldier who served in Ireland during the 1590s. He was part of the Percy Family, the son of Henry Percy, 8th Earl of Northumberland and younger brother of Henry Percy, 9th Earl of Northumberland. Following the outbreak of Tyrone's Rebellion in Ireland, he ...
null
null
null
null
1. československý beatový festival 1. československý beatový festival se konal ve dnech 20.–23. prosince 1967 v pražské Lucerně. V době politického uvolňování už před nástupem pražského jara vznikalo v Československu mnoho beatových kapel. Ze zkušeben a různých sklepů je na pódia chěli vytáhnout popularizátoři rocku –...
Print the symmetric difference of two sets.
set1 = {1, 2, 3, 4, 5}, set2 = {1, 3, 5, 7, 9}
{2, 4, 7, 9}
null