Commit b48824b9 by BellCodeEditor

auto save

parent 26e899db
Showing with 24 additions and 2 deletions
...@@ -8,5 +8,12 @@ for i in range(len(num1)): ...@@ -8,5 +8,12 @@ for i in range(len(num1)):
num2 = num1[i] num2 = num1[i]
alist.append(num2) alist.append(num2)
num4 = str(num3/2) num4 = str(num3/2)
for i in range(0,len(alist)-1):
for j in range(0,len(alist)-1):
if alist[j]>alist[j+1]:
alist[j],alist[j+1] = alist[j+1],alist[j]
high = alist[len(alist)-1]
low = alist[0]
print(high)
print(low)
print(num4) print(num4)
\ No newline at end of file
print(alist)
\ No newline at end of file
num = int(input())
a = 0
for i in range(9):
a += num
num = num/2
print(a)
print(num)
\ No newline at end of file
a = int(input())
b=[]
c =0
for i in range(a+1):
if str(i) == str(i)[-1]:
c = b.append(i)
\ 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