O Level Exam : Practical Question
📝 HTML
🎨 CSS
⚡ Java Script
mylist=eval(input("Enter any List")) print("Before Replace list is ",mylist) a=0 for b in mylist: if b>10: mylist[a]=10 a=a+1 print("After Replace list is ",mylist)
▶ Run Code
🖥 Output: