Ultranotes 2
Mon 30 June 2025
# Topic: Loops
while True:
print('Break')
break
# Topic: NumPy
import numpy as np
a = np.array([1, 2, 3])
print(a + 5)
# Topic: Decorators
def log(func):
def wrapper():
print('Call')
func()
return wrapper
@log
def say(): print('Hi')
say()
# Topic: Mini Projects
# Palindrome check
def is_pal(s): return s …Category: basics
Read More