Commit 2b0df54e by BellCodeEditor

auto save

parent 87ddadd2
def a(x,y):
s=x+y
return s
x=1
y=3
b=a(x,y)
print(b)
\ No newline at end of file
import turtle
def a():
t=turtle.Pen()
for i in range(4):
t.forward(100)
t.left(90)
turtle.done()
print(a)
\ No newline at end of file
def a(b,c):
if b>c:
print(b)
else:
print(c)
b=5
c=6
d=a(b,c)
print(d)
\ No newline at end of file
def a(b):
c=0
for i in range(b+1):
c=c+i
return c
b=3
d=a(b)
print(d)
\ No newline at end of file
def b(c):
n=0
for i in range(len(c)):
n=max(n,a[i])
return n
a=[5,9,7,10,4]
c=b(a)
print(c)
\ No newline at end of file
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