cookie

Utilizamos cookies para mejorar tu experiencia de navegación. Al hacer clic en "Aceptar todo", aceptas el uso de cookies.

avatar

IT WORLD

Albatta foydali bo'ladi :) Admin : @Nurbek_2255

Mostrar más
Publicaciones publicitarias
3 440
Suscriptores
-624 horas
-287 días
-12330 días

Carga de datos en curso...

Tasa de crecimiento de suscriptores

Carga de datos en curso...

Control Flow Keywords
if else switch case default for while do break continue
Declaration Keywords
var let const function class extends
Error Handling Keywords
try catch finally throw
Asynchronous Programming Keywords
async await
Miscellaneous Keywords
return yield (used with generators) import export new delete typeof instanceof void in of (used with for...of loops)
 Contextual Keywords
super this null true false Primitive Type Keywords undefined NaN Infinity
Reserved Future Keywords (not used in current JavaScript, but reserved for potential future use)
enum implements interface package private protected public static
Modules Keywords
import export
Mostrar todo...
🔥 1🎉 1🤩 1
import requests import cryptocompare import matplotlib.pyplot as plt import pandas as pd from datetime import datetime, timedelta (bepul API kalitini cryptocompare.com saytida olishingiz mumkin) cryptocompare.cryptocompare._set_api_key_parameter('Api_key') def get_historical_data(crypto, limit=30): hist = cryptocompare.get_historical_price_day(crypto, currency='USD', limit=limit) if hist: return pd.DataFrame(hist) return None def plot_crypto_data(df, crypto): df['time'] = pd.to_datetime(df['time'], unit='s') plt.figure(figsize=(10, 5)) plt.plot(df['time'], df['close'], label=f'{crypto} Price') plt.xlabel('Date') plt.ylabel('Price (USD)') plt.title(f'{crypto} Price Over Last 30 Days') plt.legend() plt.grid() plt.show() def get_crypto_price(crypto): price = cryptocompare.get_price(crypto, currency='USD') if price: return price[crypto]['USD'] return None def main(): cryptos = ['BTC', 'ETH', 'LTC', 'XRP', 'BCH', 'NOT', 'TONCOIN', 'PEPE', 'SOL'] print("Qaysi kriptovalyutani hisoblamoqchisiz?") for idx, crypto in enumerate(cryptos): print(f"{idx + 1}. {crypto}") choice = int(input("Tanlovingizni kiriting (raqam): ")) - 1 if choice < 0 or choice >= len(cryptos): print("Noto'g'ri tanlov. Dasturni qayta ishga tushiring.") return selected_crypto = cryptos[choice] amount = float(input(f"{selected_crypto} qancha miqdorda borligini kiriting: ")) price = get_crypto_price(selected_crypto) if price is None: print("Narxni olishda xatolik yuz berdi.") else: total_value = amount * price print(f"{amount} {selected_crypto} ning hozirgi qiymati: ${total_value:.2f}") hist_data = get_historical_data(selected_crypto) if hist_data is None: print("Tarixiy narxlarni olishda xatolik yuz berdi.") else: plot_crypto_data(hist_data, selected_crypto) if name == "main": main()
Mostrar todo...
🔥 1🤩 1💯 1🏆 1
Boshladik :)
Mostrar todo...
/delall
Mostrar todo...
/delall
Mostrar todo...
1:28:50
Video unavailableShow in Telegram
Till Death • Movie 2021 🇬🇧@Eng_MoviesN1
Mostrar todo...
501.91 MB
1:53:10
Video unavailableShow in Telegram
Name: the Meg🎥 Language: English 🇬🇧 Subtitle: ❌ 🇬🇧@Eng_MoviesN1
Mostrar todo...
634.12 MB
1:54:02
Video unavailableShow in Telegram
The Mitchells vs. the Machines (2021) • Movie ​​1h53min ⭐️8.0 IMDB    🇬🇧 @Eng_MoviesN1
Mostrar todo...
1014.63 MB
Photo unavailableShow in Telegram
The Mitchells vs. the Machines (2021) • Movie ​​1h53min ⭐️8.0 IMDB    🇬🇧 @Eng_MoviesN1
Mostrar todo...
The Revenant • Movie 🍿 (2015) 2h36min ⭐️ 8.0 Action / Adventure / Biography / Drama / History / Thriller / Western Director: Alejandro Gonzales Inarritu Actors: Will Poulter, Tom Hardy, Leonardo DiCaprio, Robert Moloney. Genres: While exploring uncharted wilderness in 1823, legendary frontiersman Hugh Glass sustains injuries from a brutal bear attack. When his hunting team leaves him for dead, Glass must utilize his survival skills to find a way back home while avoiding natives on their own hunt. Grief-stricken and fueled by vengeance, Glass treks through the wintry terrain to track down John Fitzgerald, the former confidant who betrayed and abandoned him.
Mostrar todo...

Elige un Plan Diferente

Tu plan actual sólo permite el análisis de 5 canales. Para obtener más, elige otro plan.