Hello Everyone ЁЯСЛ рдирдорд╕реНрддреЗ ЁЯЩП
This channel is your resource for industry-tested technical knowledge. I focus on sharing the most useful information I've learned on the job. Dive into practical guides for Python, Git, Kafka, SQL, AWS, and DevOps tools like GitHub Actions. Let's learn the essential skills together. Subscribe to learn the skills employers are looking for!
Sumanshu Nankana
What will be printed ?
def multiply_by_two(f):
def wrapper():
return f() * 2
return wrapper
def add_ten(f):
def wrapper():
return f() + 10
return wrapper
@add_ten
@multiply_by_two
def initial_value():
return 5
# What is the output of print(initial_value())?
2 months ago | [YT] | 0
View 0 replies
Sumanshu Nankana
Question: What is the main difference between WHERE and HAVING in SQL?
2 months ago | [YT] | 0
View 0 replies
Sumanshu Nankana
What will be printed?
import heapq, operator
nums = [7, 2, 9, 1]
heapq.heapify(nums)
heapq.heappush(nums, 3)
a = heapq.heappop(nums)
b = heapq.heappop(nums)
print(operator.add(a,b))
2 months ago | [YT] | 1
View 0 replies
Sumanshu Nankana
What will be printed ?
import heapq
nums = [5,1,3,2]
heapq.heapify(nums)
smallest = heapq.heappop(nums)
print(smallest, nums[0])
2 months ago | [YT] | 0
View 0 replies
Sumanshu Nankana
What will be printed?
import heapq
nums = [7, 3, 9, 1, 5]
heapq.heapify(nums)
heapq.heappush(nums, 2)
smallest = heapq.heappop(nums)
print(smallest, nums[0])
3 months ago | [YT] | 0
View 0 replies