982 subscribers
47 photos
14 videos
53 files
18 links
Here we shares graphics based desktop applications built by using Python 3.x.
Get the source code for free! and share your knowledge and opinion.

"The Night is Productive as Creative Day Is!"

Language : ( Hindi + English ) only.

India
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
👍5
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
2👍2
Python pinned Deleted message
Channel name was changed to «Python»
What will be the output of the following Python code?

def add_items(val, lst=[]): lst.append(val) return lst result1 = add_items(1) result2 = add_items(2) print(result2)
Anonymous Quiz
4%
[1]
48%
[2]
46%
[1,2]
2%
[2,1]
👍2
Python
What will be the output of the following Python code?

def add_items(val, lst=[]): lst.append(val) return lst result1 = add_items(1) result2 = add_items(2) print(result2)
code:

def add_items(val, lst=[]):
lst.append(val)
return lst

result1 = add_items(1)
result2 = add_items(2)
print(result2)
1👍1
What will be the output of the following code?

x = "hello" print(x[::-1])
Anonymous Quiz
13%
hello
71%
olleh
10%
error
6%
h e l l o
3
What is the output of the following code?

print(bool("False"))
Anonymous Quiz
38%
False
38%
True
7%
None
18%
Error
3
What is the output of the following code?
x = 10
def outer():
x = 5
def inner():
nonlocal x
x += 1
return x
return inner

f = outer()
print(f())
print(f())


A) 6 7
B) 11 12
C) 5 6
D) Error
What is the output of this code?
a = [1, 2, 3]
b = a[:] a[0] = 100 b[1] = 200 print(a, b)
Anonymous Quiz
20%
[100, 2, 3] [100, 200, 3]
16%
[100, 200, 3] [100, 2, 3]
6%
[1, 2, 3] [1, 2, 3]
58%
[100, 2, 3] [1, 200, 3
3
Python
What is the output of this code?
a = [1, 2, 3]
b = a[:] a[0] = 100 b[1] = 200 print(a, b)
Code:

a = [1, 2, 3]
b = a[:]
a[0] = 100
b[1] = 200
print(a, b)
2