This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>repl.it</title> | |
<link href="style.css" rel="stylesheet" type="text/css" /> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.5.2/cosmo/bootstrap.min.css" integrity="sha384-5QFXyVb+lrCzdN228VS3HmzpiE7ZVwLQtkt+0d9W43LQMzz4HBnnqvVxKg6O+04d" | |
crossorigin="anonymous"> | |
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.*; | |
import java.net.URL; | |
import javax.swing.*; | |
public class Valentine extends JFrame { | |
Valentine() { | |
URL url = null; | |
try { | |
url = new URL("https://thumbs.gfycat.com/SkinnyPinkBunny-max-1mb.gif"); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kmToMile = 0.6214 | |
#@title Перетворення кілометрів на милі | |
km = 310.2 #@param {type:"slider", min:0, max:1000, step:0.1} | |
print("{:} km = {:.1f} miles!".format(km, km*kmToMile)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
public class Main { | |
public static void main(String[] args) { | |
// Створюємо список цілих чисел | |
List<Integer> numbers = new ArrayList<>(); | |
// Додаємо елементи до списку | |
numbers.add(10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sync function getHoroscope(sign) { | |
const url = `https://horoscopes-ai.p.rapidapi.com/get_horoscope/${sign}/today/general/en`; | |
const options = { | |
method: 'GET', | |
headers: { | |
'X-RapidAPI-Key': 'YOUR_HOROSCOPE_AI_API_KEY(details_at_https://docs.rapidapi.com/docs/keys)', | |
'X-RapidAPI-Host': 'horoscopes-ai.p.rapidapi.com' | |
} | |
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer