❂ sᴏᴜʀᴄᴇ ˢᵃᵐᶦ
512 subscribers
11 photos
7 videos
16 links
😎 Dev : @Sami_Dev

👨‍💻 Programming Channel 👨‍💻

🤠 Channel : @Source_Sami

✨ State Channel : @SD_State

:D
Download Telegram
Version 1.0.5 of The solar_functions Module Has Been Released.


Description of The Update :

- Possible Problems in The Time Have Been Fixed.

- The date function Has Been Speed up.

- The Module is More Optimized And Faster.


🖇 https://pypi.org/project/solar-functions


Designed With ❤️ And ☕️ For Iranian Python Developers And Programmers.

👨‍💻 @Sami_Dev
🌐 @Source_Sami
❤7😁2🤓1
#Python #سوال

اگر متغیری داشته باشیم به نام text که درون آن "Hello World" قرار داشته باشد برنامه زیر چه چیزی را چاپ میکند؟ print(text.split(" ")[0])
Anonymous Quiz
11%
World
17%
Hello World
7%
None
51%
Hello
8%
Error
5%
World Hello
❤4😁2
#سوال #Python

text = "Hello World"
text = text.replace("Hello", "World")
print(text)
#سوال #Python

X = 10
if X > 5:
X = X + 5
if X >= 15:
print("Good Day")
else:
print("Good Night")
else:
print("None")
#سوال #Python

st1 = "Hello"
st2 = "World"
st3 = len(st1 + st2)
print(st3)
#سوال #Python

X = 1
Y = 2
while True:

if 10 <= X:
break
else:
X = (X + 1) * Y
print("Loop")



#ویرایش_شد
👍6😢1
#سوال #Python

listA = [2,4,6,8,10]
for A in listA:
if 36 <= (A * A) - 1:
break
else:
print("Reload")
👍5
#سوال #Python


listB = [1,2,3,4,"num",5]

for L in listB:
try:
I = int(L)
print(I)
except:
print("end")
break
👍5
#سوال #Python

dic = {
"A" : "A",
"B" : "B",
"C" : "C",
"D" : "D",
"E" : "E"
}
dic.popitem()
print(dic.values())
👍4
#سوال #Python


listA = [1,2,3,4,5,6,7]
for i in listA:
if i == 5:
del listA[i]
print(listA)
👍3
#سوال #Python


x = 127
y = 250
result = "X = "+x+"y ="+y
print(result)
👍4