#Function #Matritsa
import os
import time
def create_matrix():
while True:
os.system("clear")
matrix = ""
for i in range(30):
for j in range(80):
matrix += chr(33 + (i + j) % 93) # Matritsadagi belgini aniqlash
matrix += "\n"
print(matrix)
time.sleep(0.05) # Matritsa tezligi
# Matritsani chizish uchun funktsiyani chaqirish
create_matrix()
Ushbu funksiya sizga Termux terminalida matritsa effekti yaratish imkonini beradi. Matritsa effekti yaratuvchi bu funksiya sizning Termux yoki bash terminalingizni qiziqarli va muntazam belgilar bilan to'ldiradi.
✈️ @FineCoders
import os
import time
def create_matrix():
while True:
os.system("clear")
matrix = ""
for i in range(30):
for j in range(80):
matrix += chr(33 + (i + j) % 93) # Matritsadagi belgini aniqlash
matrix += "\n"
print(matrix)
time.sleep(0.05) # Matritsa tezligi
# Matritsani chizish uchun funktsiyani chaqirish
create_matrix()
Ushbu funksiya sizga Termux terminalida matritsa effekti yaratish imkonini beradi. Matritsa effekti yaratuvchi bu funksiya sizning Termux yoki bash terminalingizni qiziqarli va muntazam belgilar bilan to'ldiradi.
✈️ @FineCoders