چنل پایتون | جنگو | برنامه نویسی وب سایت | HTML & CSS & JS
445 subscribers
295 photos
142 videos
41 files
212 links
ارتباط با مدیر:

@Amir_1234_ka
Download Telegram
از این زبان ها میزاریم:
1⃣ Python
2⃣C
3⃣C++
4⃣C#
5⃣Java
6⃣ HTML & CSS
7⃣ JavaScript
8⃣ PHP
Input های مهم در اچ‌تی‌ام‌ال
👍4
ایمیل با پایتون 😁
6
Convert Video to audio
تبدیل ویدیو به صدا

https://t.iss.one/programming_languages390
4
💢 یک منبع پر از تم‌های VS Code

اگر به دنبال تنوع و زیبایی در محیط کدنویسی Visual Studio Code هستید، این وبسایت بهترین گزینه است. این سایت با ارائه مجموعه‌ای عظیم از تم‌های جذاب و متنوع، امکان شخصی‌سازی کامل محیط کاری شما را فراهم می‌کند. از رنگ‌های روشن و شاداب گرفته تا تم‌های تاریک و حرفه‌ای، هر سلیقه‌ای که داشته باشید، می‌توانید تم مورد نظر خود را در این سایت پیدا کنید.

vscodethemes.com

#vscode

🔖 #Javascript, #JS, #جاوااسکریپت

https://t.iss.one/programming_languages390
4
ایجاد پسورد تصادفی با زبان سی

Random password with C

// Project Name -> Random Password Generator
// Programmer -> Amir Khadem

#include <stdio.h>
#include <windows.h>
#include <stdlib.h> // for srand
#include <time.h> // for time

void bar(char* message , int counter)
{
for(int i = 0;i < counter;i++)
{
printf("%c" , message[i]);
Sleep(30); // 30 millisecond
}
}

void menu()
{
char fmsg[] = "Welcome to the password generator";
char smsg[] = "[1] >>> create a random password";
char tmsg[] = "[2] >>> create a random password list";

int fcount = sizeof(fmsg) / sizeof(fmsg[0]);
int scount = sizeof(smsg) / sizeof(smsg[0]);
int tcount = sizeof(tmsg) / sizeof(tmsg[0]);

bar(fmsg , fcount);
printf("\n\n");
bar(smsg , scount);
printf("\n\n");
bar(tmsg , tcount);
printf("\n\n");

}

void password(int password_length , int choice , int counter , FILE *file)
{
char list[] = "1234567890qwertyuiopasdfghjklzxcvbnm,.<>/?;:'|{}[]!@#$^&*()_+=/*\"";

if(choice == 1)
{
printf("\n");

printf("\t password -> ");

for(int i = 0; i < password_length; i++)
{
printf("%c" , list[rand() % (sizeof (list) - 1)]);
}
printf("\n");
}
else if(choice == 2)
{
for(int j = 0; j < counter; j++)
{
for(int i = 0; i < password_length; i++)
{
fprintf(file, "%c", list[rand() % (sizeof(list) - 1)]);
}
fprintf(file , "\n");
}
}
}

int main()
{
FILE *file = fopen("password.txt" , "w");

char fmsg[] = "Enter a number -> ";
char smsg[] = "Enter password length -> ";
char tmsg[] = "How many password you want -> ";

int password_length , counter , choice;
int fcount = sizeof(fmsg) / sizeof(fmsg[0]);
int scount = sizeof(smsg) / sizeof(smsg[0]);
int tcount = sizeof(tmsg) / sizeof(tmsg[0]);

menu();
bar(fmsg , fcount);
scanf("%d" , &choice);

if(choice == 1)
{
bar(smsg , scount);
scanf("%d" , &password_length);
}
else if (choice == 2)
{
bar(smsg , scount);
scanf("%d" , &password_length);
bar(tmsg , tcount);
scanf("%d" , &counter);
}

srand(time(NULL));

password(password_length , choice , counter , file);

fclose(file);

return 0;
}
👍4
برای شمارش در لیست ها از چه چیز استفاده میکنیم ؟
Anonymous Quiz
3%
add
3%
pop
79%
count
15%
index
خروجی کد زیر چیست؟
def summing(x, y):
return x + y summing (2, 8)
Anonymous Quiz
25%
None
16%
2, 8
53%
10
6%
16
برای نمایش در صفحه از چه چیز استفاده میکنیم ؟
Anonymous Quiz
9%
document.write()
24%
alert
29%
show