自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 CLRS_BubbleSort_java_20200301

BubbleSortpackage algorithm;public class Sort { // main public static void main(String[] args) { double[] un_sortedArray = randomArray(10,0,100); double[] sortedArray = bubbleSort(copyArray...

2020-03-01 14:21:59 176

原创 BNDS_ALEVEL_CS_20200305

Question:rows = int(input())for i in range(rows): for j in range(rows - 1 - i): print(" ",end='') print('a',end='') if i > 0: for k in range(2 * i - 1): i...

2020-03-05 14:11:57 103

原创 BNDS_ALEVEL_CS_20200303

Question:# using for loopdef isPalindrome_for(string) -> bool: res = True for i in range(len(string)//2): if (string[i] != string[len(string) - 1 - i]): res = False ...

2020-03-03 12:02:12 162

原创 BNDS_ALEVEL_CS_20200228

Question:# using range functiondef listWithStep(startValue,endValue,step): for i in range(startValue + step,endValue + step,step): print(i) return 0# using while loopdef listWithS...

2020-02-28 11:58:38 210 1

原创 BNDS_ALEVEL_CS_20200227

hhh

2020-02-27 14:15:32 211 1

原创 BNDS_ALEVEL_CS_20200220

Question 1:# generate random arrayimport randomdef randArr(length, min, max) -> list: randArr = [] for i in range(length): randArr.append(random.randint(min,max)) return ran...

2020-02-26 21:00:39 183

原创 BNDS_ALEVEL_CS_20200226

Question:Create a program to calculate an average by using an Array of floating point numbers and uses a for loop to go through the array.# input string from keyboardprint("PLEASE INPUT AN ARRAY, S...

2020-02-26 20:41:45 221

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除