Commit 9539a18a by BellCodeEditor

auto save

parent 26b3b1d4
Showing with 38 additions and 0 deletions
# for i in range(1,10):
# for j in range(1,i+1):
# print("%s*%s=%s"%(i,j,i*j),end="\t")
# print()
a="dfsdfasd"
print(a.find("h"))
\ No newline at end of file
# # a="Alksjdfjlds"
# # print(max(a))
# print(ord('A'),ord('a'),sep=" ")
a="fff"
b=a.replace("fff","aaa")
print(b)
\ No newline at end of file
a=[1,34,34,2,3434,2,2]
b=a
b.insert(1,34)
print(a)
a=[1,2,3,6,5,6]
b=a.copy()
b.insert(0,1)
print(a)
print(b)
import turtle
turtle.forward()
\ No newline at end of file
a=[2,3,4,3,2,4,5,3,5]
a.remove(3)
b=a.pop(3)
a.insert(1,b)
print(a)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment