Python Learning ...
194 subscribers
32 photos
1 file
29 links
Learn python programming language
Download Telegram
import turtle

t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(0)


for i in range(290):
t.pencolor('red')
t.circle(-i+1, 200)
t.rt(80)

turtle.done()
πŸ‘1
>>> list1 = [11, 2, 23]
>>> list2 = [2, 11, 23]
>>> print(list1 == list2)
Anonymous Quiz
55%
false
25%
true
15%
error
5%
none of the above
In Python Programming Tuple is :
Anonymous Quiz
31%
Mutable
69%
Immutable
Python Learning ...
https://youtu.be/gRm495egdI0
Source Code

import turtle as t

t. speed(0)
t.bgcolor('black')
t.pencolor('yellow')
for i in range(150):
t.right(i)
t.circle(125, i)
t.forward(i)
t.right(90)

t.done()
What is the maximum possible length of an identifier in Python?
Anonymous Quiz
20%
33 character
28%
98 character
14%
29 character
38%
Unlimited
Which of the following is the correct extension of the Python file?
Anonymous Quiz
11%
a) .python
8%
b) .pl
77%
c) .py
3%
d) .p
πŸ‘1
Units of Computer. Memory Measurement


1 bit = Binary digit

8 bits 1 Byte

1024 byte = 1 kilo byte

1024 KB = 1 Mega byte

1024 MB = 1 Giga byte

1024 GB = 1 Tera byte

1024 TB = 1 Peta byte

1024 PB = 1 Exa byte

1024 EB = 1 Zetta byte

1024 ZB = 1 Yotta byte

1024 YB = 1 Bronto byte

1024 BB = 1 Geop byte
What will be the output of the following code snippet? 🧠πŸ–₯πŸ€”

- example = ["Sunday", "Monday", "Tuesday", "Wednesday"]; - print(example[-3:-1])
Anonymous Quiz
39%
['Monday', 'Tuesday']
18%
['Sunday', 'Monday']
21%
['Tuesday', 'wednesday']
23%
['Monday', 'Wednesday']
πŸ‘2πŸ”₯1
Which of the following statements is valid for "if statement"?🧠πŸ–₯πŸ€”
Anonymous Quiz
52%
if f<=12:
28%
if (f<=12)
9%
if (f>=122)
11%
if f>=12
What is the maximum possible length of an identifier?πŸ€”πŸ§ πŸ–₯
Anonymous Quiz
27%
79
19%
83
15%
40
39%
None of the above
PVM is often called _________?πŸ§ πŸ€”πŸ–₯
Anonymous Quiz
15%
Python interpreter
64%
Python Virtual Memory
12%
Python compiler
9%
python volatile machine
πŸ‘2
What is the output of this code? eval("1 + 3 * 2")
Anonymous Quiz
14%
'1+6'
46%
7
21%
8
18%
'1+3*2'
What will be the output of the following code snippet?πŸ–₯πŸ§ πŸ€”

a = [1, 2] print(a * 3)
Anonymous Quiz
37%
Error
46%
[1,2,1,2,1,2]
10%
[1,2,1,2]
7%
9
πŸ‘2
What will be the output of this program ?πŸ€”πŸ§ πŸ–₯
--> print("java", 'point', sep='2')
Anonymous Quiz
39%
java2point
8%
javapoint
34%
javapoint2
18%
javapointsep=2
πŸ‘2
What will be the output of this program?🧠πŸ–₯πŸ€”
--> print(max("zoo 145 com"))
Anonymous Quiz
46%
142
22%
122
11%
a
20%
z
What will be the output of the following code snippet? πŸ–₯πŸ€”πŸ§ 

--> print(2**3 + (5 + 6)**(1 + 1))
Anonymous Quiz
42%
129
15%
19
24%
120
20%
None of the above
What will be the output of this program? πŸ§ πŸ€”πŸ–₯
--> int1 = 0b0010
print(int1)
Anonymous Quiz
42%
0b0010
21%
2
13%
5
24%
syntaxerror
πŸ‘3