x="23"
print(len(x*4))
Python codes structure by --------------------.
Find the output of the following code:
str="Helloworld"
str=str.replace('l','L')
print(str)
What is the output of the following Python code?
string="\\"
print(string)
What is the output of the given code?
a=[1,2,3]
del a[1]
print(a)
To return the length of string s what command do we execute?
If a=(1,2,3,4), what is the result of a[1:-1]?
num = [10, 20, 4, 45, 99]
num.sort()
print(num[:2] * 2)
What is the equivalent syntax to the statement func=decor(func)
in Python?
import turtle
t=turtle.Pen()
for i in range(0,4):
t.forward(100)
t.left(120)