Notice: file_put_contents(): Write of 8889 bytes failed with errno=28 No space left on device in /var/www/group-telegram/post.php on line 50
Mathmemes-RTF | Telegram Webview: mathmemesrtf/5221 -
Telegram Group & Telegram Channel
Парочка способов поздравить с Новым Годом самых продвинутых 🎄

Для любителей математики – нестареющая классика: x-max формула. А для фанатов программирования – кот(д) в мешке – запусти и узнаешь, что будет...

from colorama import Fore

def heart_shape(msg="Merry Christmas"):
lines = []
for y in range(15, -15, -1):
line = ""
for x in range(-30, 30):
f = ((x * 0.05) ** 2 + (y * 0.1) ** 2 - 1) ** 3 - (x * 0.05) ** 2 * (y * 0.1) ** 3
line += msg[(x - y) % len(msg)] if f <= 0 else " "
lines.append(line)
print(Fore.RED+"\n".join(lines))
print(Fore.GREEN+msg)
heart_shape()
Please open Telegram to view this post
VIEW IN TELEGRAM



group-telegram.com/mathmemesrtf/5221
Create:
Last Update:

Парочка способов поздравить с Новым Годом самых продвинутых 🎄

Для любителей математики – нестареющая классика: x-max формула. А для фанатов программирования – кот(д) в мешке – запусти и узнаешь, что будет...

from colorama import Fore

def heart_shape(msg="Merry Christmas"):
lines = []
for y in range(15, -15, -1):
line = ""
for x in range(-30, 30):
f = ((x * 0.05) ** 2 + (y * 0.1) ** 2 - 1) ** 3 - (x * 0.05) ** 2 * (y * 0.1) ** 3
line += msg[(x - y) % len(msg)] if f <= 0 else " "
lines.append(line)
print(Fore.RED+"\n".join(lines))
print(Fore.GREEN+msg)
heart_shape()

BY Mathmemes-RTF




Share with your friend now:
group-telegram.com/mathmemesrtf/5221

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

In February 2014, the Ukrainian people ousted pro-Russian president Viktor Yanukovych, prompting Russia to invade and annex the Crimean peninsula. By the start of April, Pavel Durov had given his notice, with TechCrunch saying at the time that the CEO had resisted pressure to suppress pages criticizing the Russian government. Meanwhile, a completely redesigned attachment menu appears when sending multiple photos or vides. Users can tap "X selected" (X being the number of items) at the top of the panel to preview how the album will look in the chat when it's sent, as well as rearrange or remove selected media. "He has kind of an old-school cyber-libertarian world view where technology is there to set you free," Maréchal said. Perpetrators of such fraud use various marketing techniques to attract subscribers on their social media channels. Although some channels have been removed, the curation process is considered opaque and insufficient by analysts.
from sg


Telegram Mathmemes-RTF
FROM American