O Level Previous paper
Открыть в Telegram
https://youtube.com/@Satya806 सभी लोग इस Channel को Subscribe कर लो https://t.me/O_levelpaper Telegram group Quiz 👉https://t.me/o_levelsatya #M4-R5_Paper #M2R5 #O_Level #M3R5_Notes #M1R5Video #PaidClass_O_Level #O_Level_Notes #Satya_Sir
Больше732
Подписчики
Нет данных24 часа
-17 дней
-130 день
Архив постов
Write a Python Program to implement a Calculator to do Basic Operations Like ( + , - , * , / )
Python Time Methods
replace() utcoffset()
isoformat() dst()
str() tzname()
strftime(format )
Numpy Arrays
>>> my_list = [1, 2, 3, 4]
>>> my_array = np.array(my_list)
>>> my_2darray = np.array([[1,2,3],[4,5,6]])
Python File Methods
Satya Sir
👉close()
👉readlines(size)
👉flush()
👉seek(offset)
👉fileno()
👉 tell()
👉isatty()
👉truncate(size)
👉next()
👉write(string)
👉read(size)
👉writelines(list)
👉readline(size)
Python String Methods
capitalize() * lstrip()
center(width) partition(sep)
count(sub, start,
end)
replace(old, new)
decode() rfind(sub, start ,end)
encode() rindex(sub, start,
end)
endswith(sub) rjust(width)
expandtabs() rpartition(sep)
find(sub, start, end) rsplit(sep)
index(sub, start,
end)
rstrip()
isalnum() * split(sep)
isalpha() * splitlines()
isdigit() * startswith(sub)
islower() * strip()
isspace() * swapcase() *
Python List Methods
append(item) pop(position)
count(item) remove(item)
extend(list) reverse()
index(item) sort()
insert(position, item)
Python String Methods (cont)
istitle() * title() *
isupper() * translate(table)
join() upper() *
ljust(width) zfill(width)
lower() *
Methods marked * are locale dependant for
8-bit strings.
Python File Metho
Python Indexes and Slices
len(a) 6
a[0] 0
a[5] 5
a[-1] 5
a[-2] 4
a[1:] [1,2,3,4,5]
a[:5] [0,1,2,3,4]
a[:-2] [0,1,2,3]
a[1:3] [1,2]
a[1:-1] [1,2,3,4]
b=a[:] Shallow copy of a
Indexes and Slices of a=[0,1,2,3,4,5]
<head>
<style>
.outer{
margin:auto;
height:300px;
width:400px;
border:2px solid black;
position:relative
}
p{
margin-left:80px;
}
.in{
margin-left:80px;
padding:10px
}
#bt{
margin-top:20px;
position:absolute;
left:150px;
}
#bt:hover{
background:green;
font-size:13px;
cursor:pointer;
color:white;
}
</style>
<script>
function fa(){
if(a.value=="" || b.value==""){
f()
document.getElementById("a").style.border="3px solid red"
document.getElementById("b").style.border="3px solid red"
bt.value="Pahila data tak"
}
else{
document.getElementById("a").style.border="3px solid green"
document.getElementById("b").style.border="3px solid green"
bt.value="Ha thik ahe ata"
bt.style.left="120px";
}
}
flag=1
function f(){
if(flag==1){
bt.style.left="210px"
flag=2
}
else if(flag==2){
bt
Note- NIELIT Online Practical Mock के लिए जितने भी प्रश्न दिये गये थे आपको हमने भेज दिया है
Уже доступно! Исследование Telegram 2025 — ключевые инсайты года 
