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
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