Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs
319 subscribers
70 photos
3 videos
3 files
33 links
👩‍💻 Wᴇʟᴄᴏᴍᴇ ᴛᴏ @CodesSnippet! 🚀

Jᴏɪɴ ᴜs ғᴏʀ ᴅᴀɪʟʏ sɴɪᴘᴘᴇᴛs ᴏғ ᴄᴏᴅɪɴɢ 🧩 ᴋɴᴏᴡʟᴇᴅɢᴇ! 💻💡

Hᴇʀᴇ, ʏᴏᴜ'ʟʟ ғɪɴᴅ 👀 ʙɪᴛᴇ-sɪᴢᴇᴅ ᴘɪᴇᴄᴇs ᴏғ ᴄᴏᴅᴇ, 🔥 ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ᴛɪᴘs, ᴀɴᴅ ᴛʀɪᴄᴋs ᴛᴏ ʟᴇᴠᴇʟ ᴜᴘ ʏᴏᴜʀ ᴄᴏᴅɪɴɢ sᴋɪʟʟs! 💪💻

Sᴛᴀʏ ᴜᴘᴅᴀᴛᴇᴅ ᴏɴ ᴛʜᴇ ʟᴀᴛᴇsᴛ ᴛʀᴇɴᴅs ɪɴ ᴛᴇᴄʜ
Download Telegram
How can you merge two DataFrames in Pandas?
Anonymous Quiz
24%
df.concat()
21%
df.join()
46%
df.merge()
9%
df.combine()
Forwarded from Java Codes Basic to Advance (</> ᴍᴜᴋᴇsʜ </>)
Print Hollow Rectangle Pattern using java .

public class Hollowrect {
public static void HollowrectPattern(int noOfRows, int noOfCols) {
// for rows outer loop
for (int i = 1; i <= noOfRows; i++) {
// inner loop
for (int j = 1; j <= noOfCols; j++) {
// cell (i,j)
if (i == 1 || i == noOfRows || j == 1 || j == noOfCols) {
System.out.print("*");

} else {
System.out.print(" ");
}

}
System.out.println();

}

}

public static void main(String[] args) {
HollowrectPattern(4, 7);

}
}

OutPut:
*******
* *
* *
*******
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥4
Butterfly Pattern using java of number n
public class Butterflypattern {
public static void butterfly_pattern(int n) {
for (int i = 1; i <= n; i++) {
for (int j = 1; j <= i; j++) {
System.out.print("*");

}
for (int j = 1; j <= 2 * (n - i); j++) {
System.out.print(" ");

}
for (int index = 1; index <= i; index++) {
System.out.print("*");

}
System.out.println();

}
for (int i = n; i >= 1; i--) {
for (int j = 1; j <= i; j++) {
System.out.print("*");

}
for (int j = 1; j <= 2 * (n - i); j++) {
System.out.print(" ");

}
for (int index = 1; index <= i; index++) {
System.out.print("*");

}
System.out.println();

}

}

public static void main(String[] args) {
butterfly_pattern(5);

}
}

Output:
*        *
** **
*** ***
**** ****
**********
**********
**** ****
*** ***
** **
* *
2👍1
Diamond Pattern of number n
public class diamond {
public static void diamond_pattern(int n) {
for (int i = 1; i <= n; i++) {
// blank space
for (int j = 1; j <= (n - i); j++) {
System.out.print(" ");

}
// star
for (int j = 1; j <= 2 * (i - 1) + 1; j++) {
System.out.print("*");

}
System.out.println();

}
for (int i = n; i >= 1; i--) {
// blank space
for (int j = 1; j <= (n - i); j++) {
System.out.print(" ");

}
// star
for (int j = 1; j <= 2 * (i - 1) + 1; j++) {
System.out.print("*");

}
System.out.println();

}

}

public static void main(String[] args) {
diamond_pattern(5);

}
}

Output:
    *
***
*****
*******
*********
*********
*******
*****
***
*
2👍1
Why do programmers prefer using the dark mode?

- Because light attracts bugs.
😁6🐳21
console.log(2 >= "2" && null);
Anonymous Quiz
18%
true
29%
false
26%
null
27%
undefined
👍1
print((3.0 > int("3.0")) & True)
Anonymous Quiz
44%
True
29%
False
14%
None
14%
Invalid
Guys, If you have Airtel SIM then, You have this reward of "Perplexity AI PRO" for a Year..

Clam Your free Yearly Perplexity AI PRO🫆
5👍1
Wisdom has been chasing you, but you have always been faster...🙂‍↔️
👍3🔥21
2
a = "python"

if a == "java" or "Java": print(True) else: print(False)
Anonymous Quiz
33%
True
55%
False
2%
None
10%
Syntex Error
2
What will be the output?
💻 TECH QUIZ – Tech Hub BBS
⏱️ 20 Q | 20 Min
🏆 Prizes + Certificate
🎯 Only 1st year allowed

📌 Register link :
http://bit.ly/41hmaTu


Registeration Deadline: 11 April 2026
Quiz Time : 6 pm -6:30 pm , 12 April 2026

👇 Updates group:
https://chat.whatsapp.com/Hc1zaz52LdOAh6kM5NHREA
👍1
🚀 Hack Days Delhi: Build the Future!
Join the capital’s premier coding showdown! Innovate and disrupt alongside partners like MLH, Google for Developers, GitHub, Sarvam AI, and Commudle.

Event Details :-
📍 Location: Delhi
🗓️ Date: 12 June 2026
Duration: 12 Hours

🎁 Why Join?
🏆 Surprise Prize Pool: Compete for an undisclosed cash reward.
☁️ AI Credits: Get premium access to Google Gemini and Sarvam AI.
👕 Swag & Food: Limited-edition gear + complimentary meals.
🤝 Networking: Connect with industry leaders and expert mentors.

🔗 Register on Commudle:
https://www.commudle.com/communities/cdn-commudle-developer-network/hackathons/hack-days-in-delhi