Prince

1.4K posts

Prince

Prince

@prince_cpp

19 I CS'29 lazy with ambitions

Inscrit le Mart 2026
366 Abonnements75 Abonnés
Tweet épinglé
Prince
Prince@prince_cpp·
Dear seniors, As my first year came to an end and second year will start in few months could you please tell me what should I focus on in my second year like core sub , DSA , GATE , specific domain etc . I hope you all could give guidance and remove my confusion
English
4
1
6
752
Bhargav Mahajan
Bhargav Mahajan@BhargavLearns·
Me counting the number of holidays my college provided me.
English
2
0
7
46
Sourabh
Sourabh@deploy_friday·
learned about authentication and authorization...#2
Sourabh tweet media
English
2
0
1
50
Vedant Reddy
Vedant Reddy@vedantReddy45·
Life is so cooked 🥺🥀 Atp I am expecting a finance like her
Vedant Reddy tweet media
English
11
0
25
597
Prince
Prince@prince_cpp·
@BhargavLearns mera matlab maine college ke start me try kiya tha ab soch rha hu wo kya tha , earthworm tha wo python to tum padh rhe ho
Eesti
1
0
1
5
Bhargav Mahajan
Bhargav Mahajan@BhargavLearns·
Recently, while learning Python, I discovered some subtle points that have changed the way I view Python: 1) Reference: Unlike other programming languages, Python variables are not containers that hold a value. Instead, Python variables are pointers that refer to an object. A mind-blowing example to understand why this matters: a = [1,2,3] b = a a.append (4) #This returns None btw print(a,b) Many people might think that after this, a = [1, 2, 3, 4] while b remains [1,2,3], but that's exactly why we should learn more about references. In reality, both variables point to the same object in memory; thus, both will be the same list object with the same elements. 2) Mutability & Immutability: In Python, mutability and immutability are crucial concepts. While references are a big part of this discussion, using the same example for strings helps to clarify this concept even better. a = "1, 2, 3" b = a b= b. replace ("1", "2") print(a,b) The result here will differ! While a will remain "1,2,3 ", but b will become "2, 2, 3" because "strings are immutable!" This is significant because any operation on an immutable object creates a new object. Therefore, when a method is performed on b, b will refer to a new object. 3) list methods: Do you know that some list methods return new objects? If you want a new list, you can concatenate lists or copy a list using the. copy () method. These techniques help create new lists, which can be very useful. 4) Python & its objects: Everything in Python is an object. From functions to modules to generators, everything is an object. This means their names should follow the same rules as variable names, and you can pass them into other functions or your main function as needed. 5) Scopes: When you assign a variable in Python and print that variable, Python does something very interesting. Example: x = 10 #global def name(): x = 12 #enclosing def name _ 2 (): x = 13 #local name_2() name() Here, Python first checks for a local variable (inside the inner function), then for an enclosing variable (inside the outer function), then for a global variable (outside the functions), and finally for built- in variables. Now, Python will surprise you with a tricky moment! If you write: x = 12 def n(): Print (x) x = 10 It will return an error! Because Python checks for local variables first, it is printing x before assigning a value to X. I hope reading this tweet would give you some aha moments!!!
English
5
2
16
282
Prince
Prince@prince_cpp·
@athrix_codes bhai landing me bahut prblm hoti hai har baar crash ho jata hai
हिन्दी
0
0
0
6
Athrix ☄️
Athrix ☄️@athrix_codes·
The best silently feature added by Google Earth 🐐 Flight Simulator ✈️ you can fly above from any place Now our childhood dream, To fly above every city comes to true ❤️
English
4
1
12
635
Prince
Prince@prince_cpp·
@s4h7m I couldn't even solder two wires cleanly
English
0
0
0
7
Soham
Soham@s4h7m·
Tried soldering for the first time :)
Soham tweet media
English
15
1
64
1.9K
Bhargav Mahajan
Bhargav Mahajan@BhargavLearns·
I am starting with Oops in python today. Drop some tips!!!
English
5
0
13
311
Vedant Reddy
Vedant Reddy@vedantReddy45·
Mummy ke hath ki misal pav 😋😋
Vedant Reddy tweet media
English
10
0
32
413
Prince
Prince@prince_cpp·
@mihir_twt I think its important for your skill development
English
1
0
1
25
mihir
mihir@mihir_twt·
the stuff i have to do for 2 social internship credits 😭 > 1 month internship with an NGO > go to a school and talk about AI and Career Options > do a 15 hour course on social work > maintain a logbook and prepare a report a very different summer than what i had planned
English
2
0
10
219
biased indian
biased indian@RakeshK32229480·
WTF, I just realized one of my favorite YouTubers cleared the UPSC and became an IAS officer. Bro going to do public service now.
biased indian tweet mediabiased indian tweet media
English
151
107
3.1K
212.7K
Prince
Prince@prince_cpp·
@mihir_twt japanese and chinese are very tough , spanish won't give you any edge
English
1
0
2
26
Prince
Prince@prince_cpp·
@Spidey_707 kahi aap khud hi to nhi punch rhe ho
हिन्दी
1
0
2
27
SPIDEY
SPIDEY@Spidey_707·
😂
SPIDEY tweet media
QME
3
0
15
526
Vedant Reddy
Vedant Reddy@vedantReddy45·
POV:- You don't have no one to open up so you yapp on X
English
9
2
28
571