text stringlengths 141 2.89k ⌀ | instruction stringlengths 19 1.5k ⌀ | input stringlengths 0 800 ⌀ | output stringlengths 1 2.5k ⌀ |
|---|---|---|---|
null | Design a function in Python to calculate the Fibonacci sequence up to a particular number. | def fibonacci(n): if n <= 1: return n else: return fibonacci(n-1) + fibonacci(n-2) for i in range(1, n+1): print(fibonacci(i)) | |
null | Construct a while loop in C for printing even numbers from 0 to 10. | int num = 0; while(num <= 10) { printf("%d ", num); num += 2; } | |
[CS Wikipedia] Ánand (Gudžarát)
Ánand (, ) je město v Gudžarátu, jednom z indických svazových států. K roku 2011 měl bezmála 200 tisíc obyvatel. Od roku 1997 je centrem stejnojmenného okresu. Město je známé jako hlavní sídlo mlékárenského družstva Amul, které sdružuje přibližně tři milióny výrobců mléka. Poloha a dopr... | null | null | null |
null | Generate the ternary operator for the following expression: x > 0 ? 10 : 5. | x > 0 ? 10 : 5 | |
null | Develop a function in Python to generate a random number between 1 and 10. | Not applicable | import random
# Function to generate a random number between 1 and 10
def random_num():
number = random.randint(1, 10)
return number
# Driver code
num = random_num()
print("Random number between 1 and 10 is: ", num) |
null | How would you implement a function to determine if a number is even or odd in Python? | def even_odd(number): if number % 2 == 0: print("Even") else: print("Odd") | |
null | Design a function to get the length of the longest increasing subsequence in a given list of integers. | def longest_increasing_subsequence_length(nums): n = len(nums) LIS = [1] * n for i in range(1, n): for j in range(0, i): if nums[i] > nums[j] and LIS[i] < LIS[j] + 1: LIS[i] = LIS[j] + 1 return max(LIS) | |
[DE Wikipedia] Die Medici
Die Medici (Originaltitel: I Medici und The Medici), in Staffel 1 mit Herrscher von Florenz (Originaltitel: Masters of Florence) , in Staffel 2 und 3 mit Lorenzo der Prächtige (Originaltitel: The Magnificent) untertitelt, ist eine italienisch-britische Fernsehserie, deren Produktion 2015 bega... | null | null | null |
null | Create a data structure in Python to calculate the most popular item over time. | The items are python dictionaries in the form [{'name': 'item_a', 'count': 10}, {'name': 'item_b', 'count': 5}, {'name': 'item_c', 'count': 1}] | from collections import defaultdict
def most_popular_item(data):
counts = defaultdict(int)
for item in data:
name = item['name']
counts[name] += item['count']
m = counts.get(max(counts, key=counts.get))
print("The most popular item is " + m + " with a count of " + str(counts[m])) |
null | Create a function in Python that takes a number N and returns the sum of the first N odd numbers. | N = 5 | def sum_of_odds(N):
return sum([i for i in range(1, 2*N + 1, 2)])
N = 5
print(sum_of_odds(N)) |
[DE Wikipedia] Russki Witjas
Die russische Sikorsky Russki Witjas (, „Russischer Recke“, auch Le Grand) von 1913 gilt als einer der Meilensteine in der Luftfahrtgeschichte. Sie war das erste viermotorige Flugzeug der Welt und das erste reine Passagierflugzeug, das aufgrund seiner für die damaligen Zeit enormen Ausmaße... | null | null | null |
[EN Wikipedia] Bódog Török
Bódog Török (2 November 1923 – 16 October 2012 in Budapest) was a Hungarian handball player, coach and sports official. He was the longest serving and the most successful coach in the history of the Hungarian women's national team. Török was born and died in Budapest. He began his playing ca... | null | null | null |
null | Create a Python function that takes in a list of words and check if every word in the list is a palindrome. | ["abcd", "anna", "mom", "live"] | def is_all_palindrome(words):
for word in words:
if word == word[::-1]:
continue
else:
return False
return True
words = ["abcd", "anna", "mom", "live"]
print(is_all_palindrome(words)) |
[HI Wikipedia] चुकिसाका विभाग
चुकिसाका बोलिविया का एक प्रशासनिक विभाग (देपार्तामेन्त) है जो उस देश के दक्षिण-मध्य भाग में स्थित है। इसकी राजधानी सूक्रे शहर है जो बोलिविया की राष्ट्रीय संवैधानिक राजधानी भी है। विभाग के कुछ दृश्य इन्हें भी देखें बोलिविया के विभाग सन्दर्भ चुकिसाका विभाग बोलिविया के विभाग | null | null | null |
[DE Wikipedia] Samuel Loew Hommel
Samuel Loew Hommel (* 1839 in Gersfeld, heute Hessen; gest. 1912 in Nürnberg) war ein deutscher Religions- und Elementarlehrer jüdischen Glaubens. Hommel war eines von mehreren Kindern des jüdischen Ehepaares Jacob und Regina Hommel, die laut Matrikelliste Vieh- und Gewürzhändler ware... | null | null | null |
null | Create a script to delete all system logs. | #!/bin/bash # Remove all system log files sudo rm /var/log/*.log | |
null | Install and set up a database management system called MongoDB. | 1. Download and install the MongoDB server 2. Create data directories, a log file and a configuration file 3. Update configuration entries to reflect storage capacity and logging preferences 4. Start the MongoDB service 5. Create new users, roles and databases 6. Connect applications to MongoDB | |
null | Write a Python program to find the first non-repeated letter in a string. | "apple" | def first_non_repeating_letter(str):
for char in str:
if str.lower().count(char.lower()) == 1:
return char
return ''
# main
str = "apple"
print("First non-repeating letter:", first_non_repeating_letter(str)) |
[CS Wikipedia] Pod cirkusovým stanem
Kvapík pro lipicány v češtině, Sub cirkotendo (Pod cirkusovým stanem) v esperantu, je vzpomínková kniha českého autora Stanislava Bubeníčka, kterou napsal nejdříve česky (1965) a pak sám přeložil do esperanta pod literárním pseudonymem Stan Bubenič. Autor hrál v cirkusovém orchestr... | null | null | null |
null | Create an array with the following elements: 1, 2, 3, 2, 1. | [1, 2, 3, 2, 1] | |
[HI Wikipedia] राजस्व मंडल, राजस्थान
भूमिका भूमि संबंधी विवाद अत्यन्त जटिल होते हैं। भूमि संबंधी तथ्यों को क्षेत्र में जा कर उपलब्ध तथ्यों के ठोस आधार पर अनुभवी अधिकारियों द्वारा ही ठीक तरह समझा जा सकता है। किन्तु चूंकि भूमि संबंधी मामले राज्य की अधिकांश कृषि आश्रित आम जनता से सीधा संबंध रखते हैं, उनसे राज्य की,... | null | null | null |
null | Construct a linked list of nodes in Python. | No Input | class Node:
def __init__(self, data):
self.data = data
self.next = None
class LinkedList:
def __init__(self):
self.head = None
def push(self, new_data):
new_node = Node(new_data)
new_node.next = self.head
self.head = new_node
def insert_after(self... |
null | Identify the advantages of using deep learning models. | The advantages of using deep learning models include: the ability to handle large and complex datasets; the ability to achieve better generalization performance; greater accuracy than traditional machine learning algorithms; the ability to capture non-linear relationships; and improved efficiency. | |
null | Write a Python program that parses an XML document and presents the data as an interactive web page. The program should generate HTML from the data in the XML document, and present it in a browser. | <?xml version="1.0" encoding="utf-8"?>
<data>
<people>
<person>
<name>John Doe</name>
<age>30</age>
</person>
<person>
<name>Jane Smith</name>
<age>25</age>
</person>
</people>
</data> | import webbrowser
from bs4 import BeautifulSoup
xml_doc = "<xml><people><person><name>John Doe</name><age>30</age></person><person><name>Jane Smith</name><age>25</age></person></people></xml>"
soup = BeautifulSoup(xml_doc, 'xml')
html = """
<html>
<head>
<title>People</title>
</head>
<body>
<h1>People</h1>
<... |
null | Write a MySQL query to find the names of all the students who took both math and science classes. | SELECT students.name FROM students WHERE EXISTS ( SELECT 1 FROM classes WHERE classes.student_id = students.id AND classes.subject IN ('math','science') GROUP BY classes.student_id HAVING COUNT(DISTINCT classes.subject) = 2 ); | |
[EN Wikipedia] Mahendra Engineering College
Mahendra Engineering College (Autonomous) is an Engineering College in the Indian state of Tamil Nadu. It teaches engineering subjects for approximately 10,000 students pursuing the Bachelor of Engineering and/or MBAs. The college offers undergraduate programs in the discipl... | null | null | null |
[EN Wikipedia] What Do You Meme?
What Do You Meme? is a humorous party card game from Jerry Media in which players propose caption cards as a match to a designated photo (or meme) card. The judge of the round chooses the caption that they think is the best match to photo card, and whoever played that card gets a point... | null | null | null |
null | Create a Python web application for a car insurance calculator. The application should have a page where the user can input the data (e.g age, gender, car model, etc) and should return a calculated insurance price. | Not applicable | import flask
from flask import request, jsonify
# Creating the application app
app = flask.Flask(__name__)
@app.route('/calculate', methods=['POST'])
def calculate():
# Get the input data from the user
data = request.get_json()
age = data['age']
gender = data['gender']
car_model = data['car_mode... |
null | Can you code a solution to Bubble Sort an array of integers? | [5, 4, 3, 2, 1] | def bubbleSort(arr): n = len(arr) # Traverse through all array elements for i in range(n): # Last i elements are already in place for j in range(0, n-i-1): # traverse the array from 0 to n-i-1 # Swap if the element found is greater # than the next element if arr[j] > arr[j+1] : arr[j], arr[j+1] = arr[j+1], arr[j] # Dri... |
[EN Wikipedia] Alps
The Alps () are the highest and most extensive mountain range that is entirely in Europe, stretching approximately across eight Alpine countries (from west to east): Monaco, France, Switzerland, Italy, Liechtenstein, Germany, Austria and Slovenia. The Alpine arch extends from Nice on the western Me... | null | null | null |
null | Generate an HTML table with 3 columns for Name, Email and Phone Number. | <table> <tr> <th>Name</th> <th>Email</th> <th>Phone Number</th> </tr> <tr> <td>John Doe</td> <td>john@example.com</td> <td>123-456-7890</td> </tr> </table> | |
null | Create a JavaScript statement to output the prompt "Please enter your name:". | prompt("Please enter your name:"); | |
[CS Wikipedia] Pavel Rynt
Pavel Rynt (* 18. dubna 1943 Kralupy nad Vltavou) je český komunální politik, člen Klubu angažovaných nestraníků a v letech 1990–2006 starosta města Kralupy nad Vltavou. Je ženatý (manželka Olga) a má dva syny, Pavla (* 1966) a Milana (* 1971). Vzdělání a profesní kariéra Vystudoval Pedagogic... | null | null | null |
null | Using a given array of numbers, create a function to display the frequency of each number. | def frequency(array): count = {} # Count the number of occurances for element in array: if element not in count: count[element] = 1 else: count[element] += 1 # Display the count for element in count: print("Number {} occurs {} times".format(element, count[element])) | |
null | Create a Python script that prints the top three words from a given sentence. | sentence= "This is a really long sentence with many words." | import collections
sentence = "This is a really long sentence with many words."
# Split the given sentence into a list of words
words = sentence.split(" ")
# Count the occurrence of each word
word_freq = collections.Counter(words)
# Print out the top three words
for word, count in word_freq.most_common(3):
prin... |
null | Given a string containing a sentence, create a function in Python that returns a list of words in the sentence that are longer than 5 characters. | Not applicable | def long_words(sentence):
words = sentence.split(' ')
long_words = []
for word in words:
if len(word) > 5:
long_words.append(word)
return long_words |
[EN Wikipedia] No Light, No Light
"No Light, No Light" is a song by English indie rock band Florence and the Machine from their second studio album, Ceremonials (2011). The song was written by band members Florence Welch and Isabella Summers while the production was handled by Paul Epworth. Island Records released the... | null | null | null |
null | Create a method to multiply two numbers. | public static int multiply(int num1, int num2) { return num1 * num2; } | |
null | Create an Angular controller that adds two numbers. | app.controller("addNumbersController", function($scope) { $scope.total = 0; $scope.add = function() { $scope.total = $scope.number1 + $scope.number2; } }); | |
null | Create an SQL table with three columns called id (int type), name (text type), and age (int type). | CREATE TABLE people ( id INT PRIMARY KEY, name TEXT, age INT ); | |
[DE Wikipedia] Csilla Madarász-Dobay
Csilla Madarász-Dobay (* 23. Juni 1943 in Budapest als Csilla Madarász; † 31. Dezember 2021) war eine ungarische Schwimmerin. Leben Csilla Madarász stellte am 2. Juli 1960 mit einer Zeit von 1:02,9 Minuten einen neuen Europarekord über 100 Meter Freistil auf. Nur zwei Wochen später... | null | null | null |
null | Create a python program for predicting user ratings for a movie on the IMDB database. | Features: director_name, num_critic_for_reviews, duration, gross,
IMDB rating for movie 'Grey Island': 3.6 | import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LinearRegression
# Read IMDB data
data_df = pd.read_csv('imdb_data.csv')
# Create input data
X = data_df[['director_name', 'num_critic_for_reviews', 'duration', 'gross']]
y = data_df['imdb_score']
# Split data i... |
null | Find the sum of the first 10 positive integers | The sum of the first 10 positive integers is 55. | |
null | Generate a python program that creates a new list by appending an element to the last of an existing list. | [1, 2, 3] | def appendElementToList(list, element):
list.append(element)
return list
list = [1, 2, 3]
element = 4
print(appendElementToList(list, element)) |
null | Write a Python program to generate customer profiles from a large data set. | The dataset contains 1000 customer records with fields such as age, gender, location, product purchase, etc. | import numpy as np
import pandas as pd
# Read the data set
dataset = pd.read_csv('customer-data.csv')
# Determine the unique features in the data
features = np.unique(np.concatenate([dataset[column].value_counts().keys() for column in dataset.columns]))
# Create the customer profile from the data
customer_profile =... |
null | Edit the code to extract the data from the given dictionary. | data = { 'name': 'John', 'age': 23, 'address': { 'street': '123 Main Street', 'city': 'Los Angeles' } } | name = data['name'] age = data['age'] street = data['address']['street'] city = data['address']['city'] |
null | Write a Python function to check whether a year is leap year or not. | def is_leap_year(year):
if (year % 4 == 0):
if (year % 100 == 0):
if (year % 400 == 0):
return True
else:
return False
else:
return True
else:
return False
year = int(input("Enter a year: "))
if is_leap_year(year):
print(year, "is a leap year")
else:
print(year,... | |
null | Develop a Python script to extract some text from a website. | Website URL: http://example.com | import requests
from bs4 import BeautifulSoup
response = requests.get("http://example.com")
soup = BeautifulSoup(response.content, "html.parser")
text = soup.get_text()
print(text) |
null | Write a JavaScript program to loop through an array in reverse order. | var arr = [5, 2, 6, 9, 3]; | var arr = [5, 2, 6, 9, 3]; for (var i = arr.length-1; i >= 0; i--) { console.log(arr[i]); } |
[CS Wikipedia] Veněra-D
Venera-D (rusky Венера-Д) je připravovaná ruská vesmírná planetární sonda k Venuši, která má být vypuštěná okolo roku 2026. Jejím hlavním cílem budou vzdálené pozorování Venuše podobně jako americká sonda Magellan v 90. letech 20. století, ale s využitím výkonnějšího radaru. Jejím dalším úkolem... | null | null | null |
null | Create a dictionary containing the key-value pair of a given string. | string = "test string" | """ Create a dictionary containing the key-value pair of a given string """ # Given string string = "test string" # Initialising an empty dictionary my_dict = {} # Looping through the given string for char in string: # If the character is not already in dictionary if char not in my_dict: # Adding the character to the d... |
[CS Wikipedia] Oleg Salenko
Oleg Anatoljevič Salenko (rusky Олег Анатольевич Саленко; ukrajinsky Олег Анатолійович Саленко, transkripcí z ukrajinštiny Oleh Anatolijovyč Salenko; * 25. říjen 1969, Leningrad) je bývalý rusko-ukrajinský fotbalista. Reprezentoval ve svém životě tři země: Sovětský svaz (4 zápasy v reprezen... | null | null | null |
[EN Wikipedia] Last word (cocktail)
The last word is a gin-based Prohibition-era cocktail originally developed at the Detroit Athletic Club. While the drink eventually fell out of favor, it enjoyed a renewed popularity after being rediscovered by the bartender Murray Stenson in 2003 during his tenure at the Zig Zag Ca... | null | null | null |
null | Create a code to sort a list of strings based on the length of the strings. | my_list = ['apples', 'bananas', 'oranges'] | def sort_strings_by_length(my_list): """This function takes in a list of strings and sorts them based on the length of the strings. Parameters ---------- my_list : list The list of strings. Returns ------- The sorted list of strings. """ return sorted(my_list, key=len) |
null | Generate a Python function to calculate the area of a triangle given the three sides. | def triangle_area(side1, side2, side3):
s = (side1 + side2 + side3) / 2
area = (s * (s - side1) * (s - side2) * (s - side3)) ** 0.5
return area | |
null | Design a program that takes a date in the format dd/mm/yyyy as input and prints the day of that given date | 01/02/2020 | day = int(input("Enter date in dd/mm/yyyy format: ").split('/')[0]) month = int(input("Enter date in dd/mm/yyyy format: ").split('/')[1]) year = int(input("Enter date in dd/mm/yyyy format: ").split('/')[2]) # Determine day name day_num = datetime(year, month, day).weekday() days = ["Monday", "Tuesday", "Wednesday", "Th... |
null | Create a python script to group values according to given conditions. | group1 = [1, 2, 3, 4]
group2 = [5, 6, 7, 8]
condition = lambda x: x > 5 | group1 = [1, 2, 3, 4]
group2 = [5, 6, 7, 8]
condition = lambda x: x > 5
group_1 = list(filter(condition, group1))
group_2 = list(filter(condition, group2))
print(group_1)
print(group_2) |
null | Write a SQL query to find records where the name starts with ‘Jo’. | SELECT * FROM tableName WHERE name LIKE 'Jo%' | |
null | Implement a stack data structure using linked lists. | class Node: def __init__(self, data): self.data = data self.next = None class Stack: def __init__(self): self.head = None self.num_elements = 0 def push(self, element): new_node = Node(element) if self.head == None: self.head = new_node else: new_node.next = self.head self.head = new_node self.num_elements += 1 def pop... | |
null | List the different access modifiers in Java | The access modifiers in Java are public, private, protected, and default. Public members are accessible everywhere and can be inherited. Private members can only be accessed within the same class. Protected members are accessible within the same package but can be inherited to a subclass in a different package. Default... | |
null | Print the first 10 Fibonacci numbers using a loop. | a, b = 0, 1 for i in range(10): print(a) a, b = b, a + b | |
null | Retrieve the last character of a given string. | Programming | g |
[EN Wikipedia] Daniel Hallberg
Daniel Hallberg, (born 30 September 1987) is a Swedish comedian and television presenter. In 2019, Hallberg presented Grammisgalan 2019 along with Rennie Mirro. Hallberg has participated in the stageshow and later on the talk show television version of Luuk & Hallberg along with Kristian... | null | null | null |
null | Find all occurrences of a substring in a given string. | string = "the cat in the hat" substring = "cat" | def find_substring_occurrences(string, substring): occurrence_list = [] index = 0 while string.find(substring, index) != -1: index = string.find(substring, index) occurrence_list.append(index) index += 1 return occurrence_list |
[CS Wikipedia] Albánie
Albánie (, také ), plným názvem Albánská republika (), je středomořský stát v jihovýchodní Evropě na Balkánském poloostrově. Na severu sousedí s Černou Horou, na severovýchodě s Kosovem, na východě se Severní Makedonií a na jihovýchodě s Řeckem. Západní část Albánie leží na pobřeží Jaderského mo... | null | null | null |
null | Insert this HTML element at the appropriate place. | <h1>Important Text</h1> | <body> <p>Some other text here</p> <h1>Important Text</h1> </body> |
null | What is the purpose of treemaps in data visualization? | Treemaps are used to represent hierarchical data visually. They are used to visualize large datasets by dividing them into rectangles proportional to their values. This makes it easier to quickly compare values and identify patterns across datasets. | |
[EN Wikipedia] Rosemary Ames
Rosemary Ames (December 11, 1906 – April 15, 1988) was an American film actress who had a brief career in the early 1930s. Born in Evanston, Illinois, Ames's father was Knowlton Lyman (Snake) Ames, who played fullback for Princeton University in the 1880s. She made her film acting debut in... | null | null | null |
[CS Wikipedia] Elektrický náboj
Elektrický náboj je fyzikální veličina a vlastnost hmoty. Hmota nesoucí elektrický náboj je zdrojem elektromagnetického pole a zároveň v elektromagnetickém poli na ni působí Lorentzova síla. Polarita elektrického náboje může být kladná nebo záporná. Dle konvence protony nesou kladný náb... | null | null | null |
[EN Wikipedia] 1829 in Denmark
Events from the year 1829 in Denmark. Incumbents Monarch – Frederick VI Prime minister – Otto Joachim Events 7 June – C. F. Hansen's new Church of Our Lady in Copenhagen inaugurated after the previous building was destroyed in the British Bombardment of Copenhagen in 1807. 19 June – Adam... | null | null | null |
[EN Wikipedia] Karl Laurenz
Karl Laurenz (11 September 1905 - 23 November 1955) trained as a lawyer, but worked, for much of his life, as a German journalist and specialist translator. He was executed as a western spy on the guillotine in Dresden. Approximately ten minutes later, Laurenz's lover, Elli Barczatis, was a... | null | null | null |
null | Create a python program to store personal contact information in a dictionary format. | {
"name": "John Doe",
"phone": "+1 123-456-7891",
"email": "john_doe@example.com"
} | def store_contact_info(contact_dict):
name = contact_dict["name"]
phone = contact_dict["phone"]
email = contact_dict["email"]
# Create dictionary to store contact info
contact_info_dict = {
"Name": name,
"Phone": phone,
"Email": email
}
return contact_info_dict |
null | Write a python program to classify the sentiment of a given piece of text. | The government has done a tremendous job in handling the pandemic situation. | import nltk
from nltk.sentiment.vader import SentimentIntensityAnalyzer
def classify_sentiment(text):
sid = SentimentIntensityAnalyzer()
score = sid.polarity_scores(text)
if score['compound'] >= 0.05:
return 'positive'
elif score['compound'] <= - 0.05:
return 'negative'
else:
... |
null | Generate an algorithm in Python to count the number of inversions in an array. | [3, 5, 2, 1, 4] | def count_inversions(arr):
inv_count = 0
for i in range(len(arr)):
for j in range(i + 1, len(arr)):
if arr[i] > arr[j]:
inv_count += 1
return inv_count
arr = [3, 5, 2, 1, 4]
print(count_inversions(arr)) |
[CS Wikipedia] 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á pla... | null | null | null |
null | Produce a program in python which takes a given list of numbers and creates a dictionary where each number is the key and its multiple of the given number is the value. | my_list = [3, 5, 7] | def create_dictionary(my_list):
res = {num: num * 2 for num in my_list}
return res
# run the code
my_list = [3, 5, 7]
res = create_dictionary(my_list)
print('The dictionary is ' + str(res)) |
null | Write a REGEX pattern to only match valid JavaScript variable names. | ^[a-zA-Z_$][\w$]*$ | |
null | Create a bash script that sorts a list of numbers | list = [3,12,1,4,5] | #!/bin/bash arr=($list) sort=`echo ${arr[*]} | tr " " "\n" | sort -n` echo $sort |
[DE Wikipedia] Langar (Begriffsklärung)
Langar steht für: Langar, eine freie Küche der Sikhs Langar (Kasachstan), eine Stadt in Kasachstan Langar (Tadschikistan), einen Ort in Tadschikistan Langar (Fargʻona), ein Dorf in der Provinz Fargʻona in Usbekistan Langar (Navoiy), eine Siedlung städtischen Typs in der Provinz ... | null | null | null |
[EN Wikipedia] Dionigi
Dionigi is both a masculine Italian given name and a surname. Notable people with the name include: Dionigi di Borgo San Sepolcro (c. 1300 – 1342), Augustinian friar Dionigi Bussola (1615–1687), Italian sculptor Dionigi Donnini (1681–1743), Italian painter Dionigi Galletto (1932–2011), Italian m... | null | null | null |
null | Write a Python program to generate a random string containing lowercase and uppercase letters with a length of 8 characters. | import random
def generate_string(length):
letters = string.ascii_letters
return ''.join(random.choice(letters) for i in range(length))
print(generate_string(8)) | |
[EN Wikipedia] 1822 in Denmark
Events from the year 1822 in Denmark. Incumbents Monarch – Frederick VI Events 28 February – Spare- og Laanekassen i Marstal, a savings bank on the island of Ørø, is founded by a group of local residents. Culture Music Carl Nielsen's Wind Quintet is performed in public for the first time... | null | null | null |
null | Create a Visual Studio Code extension that provides auto-complete features for a specific language. | This Visual Studio Code extension will create an Auto-Complete Provider for a specific language (e.g. JavaScript, Python, etc.). It will analyze the syntax of a given language and provide word suggestions while typing in the source code. The extension should be able to detect the language type from the file extension a... | |
[CS Wikipedia] Oděv vrcholného středověku
Oděv vrcholného středověku procházel postupným vývojem. Navazuje na volný raně středověký oděv, postupem desetiletí se stává vypasovanějším. O jeho podobě se dozvídáme z dobových pramenů (obrazy, ilustrace, sochy, literární prameny) i ze zachovaných nálezů (kterých ale není mn... | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.