Python Tech
312 posts

Python Tech
@PythonTech43716
Python enthusiastic |Sharing tips,tricks,and tutorials on all the things on Python | let's code together and learn l 💻 #coding
India 🌏 Joined Ocak 2025
149 Following66 Followers

@Python_Dv C) 10,5 is the right answer
Here we just swap the elements.
English

@Python_Dv HELLO is the right answer.
.upper() is a string method which is used.
English

@Python_Dv D is the right answer
Because set always returns unique values.
English

@Python_Dv 2 4 6 8 10
Is the right answer just simple iteration then element wise multiplication.
English

@PythonPr Mod is the right answer in the case of if and elif and else anything code run then loop is out.
English

@PythonPr B) [1,10,2,3] is the right answer
Because insert is a method where we used insert values into specific index so here the value of index 1 so answer is [1,10,2,3]
English

@PythonPr B) 55 is the right answer
Both are the string so we can't perform element waise operation
We can perform string concatenation here
English

@clcoding Here the answer is filter object if we need output of this code.
clcoding = [1, 2, 3, 4]
result = filter(lambda x: x > 2, clcoding)
print(list(result))
English

@PythonPr The difference is more on first case
a= b are are stored at same memory location,but in case 2nd
Both are referring towards different memory location.
First is based on shallow copy or allising and second is based on deep copy.
English






















