07 2019 档案

摘要:Day 5: Loops 给一个整数,打印他的十个倍数,每个倍数需要单独开启一个新行,格式:n x i = result. Sample Input 2 Sample Input Sample Input 2 2 Sample Output 2 x 1 = 2 2 x 2 = 4 2 x 3 = 6 阅读全文
posted @ 2019-07-25 16:02 乱世有歌舞 阅读(121) 评论(0) 推荐(0)
摘要:Day 4: Class vs. Instance Task Write a Person class with an instance variable, age, and a constructor that takes an integer, initialAge, as a paramete 阅读全文
posted @ 2019-07-23 10:25 乱世有歌舞 阅读(163) 评论(0) 推荐(0)
摘要:1、Higher Than 75 Marks Query the Name of any student in STUDENTS who scored higher than 75 Marks. Order your output by the last three charactersof eac 阅读全文
posted @ 2019-07-22 12:19 乱世有歌舞 阅读(279) 评论(0) 推荐(0)
摘要:Day 3: Intro to Conditional Statements 阅读全文
posted @ 2019-07-22 12:11 乱世有歌舞 阅读(145) 评论(0) 推荐(0)
摘要:Day 2: Operators Task Given the meal price (base cost of a meal), tip percent (the percentage of the meal price being added as tip), and tax percent(t 阅读全文
posted @ 2019-07-21 19:33 乱世有歌舞 阅读(120) 评论(0) 推荐(0)
摘要:Day 1: Data Types 阅读全文
posted @ 2019-07-21 19:31 乱世有歌舞 阅读(185) 评论(0) 推荐(0)
摘要:Sock Merchant Function Description Complete the sockMerchant function in the editor below. It must return an integer representing the number of matchi 阅读全文
posted @ 2019-07-20 14:42 乱世有歌舞 阅读(277) 评论(0) 推荐(0)
摘要:function main() { let r = readLine(); const PI = Math.PI; // Print the area of the circle: let area; area = PI * r * r console.log(area); // Print the perimeter of the ci... 阅读全文
posted @ 2019-07-20 11:38 乱世有歌舞 阅读(91) 评论(0) 推荐(0)
摘要:/* * Create the function factorial here */ function factorial(n) { return (n >= 1 && n <= 10) ? n * factorial(n - 1) : 1; } 阅读全文
posted @ 2019-07-20 11:27 乱世有歌舞 阅读(145) 评论(0) 推荐(0)
摘要:'use strict'; process.stdin.resume(); process.stdin.setEncoding('utf-8'); let inputString = ''; let currentLine = 0; process.stdin.on('data', inputStdin => { inputString += inputStdin; }); p... 阅读全文
posted @ 2019-07-20 11:17 乱世有歌舞 阅读(166) 评论(0) 推荐(0)
摘要:Day 0: Hello, World. Task To complete this challenge, you must save a line of input from stdin to a variable, print Hello, World. on a single line, an 阅读全文
posted @ 2019-07-20 11:03 乱世有歌舞 阅读(210) 评论(0) 推荐(0)
摘要:The STATION table is described as follows: The STATION table is described as follows: 1、Weather Observation Station 1 Query a list of CITY and STATE f 阅读全文
posted @ 2019-07-19 18:03 乱世有歌舞 阅读(336) 评论(0) 推荐(0)
摘要:The CITY table is described as follows: 1、Revising the Select Query I Query all columns for all American cities in CITY with populations larger than 1 阅读全文
posted @ 2019-07-19 10:34 乱世有歌舞 阅读(209) 评论(0) 推荐(0)
摘要:Team又接了一个项目,需要做一个Django服务,所以来研究一下Django方面的内容。 关于Django的安装与使用,网上的说法也是五花八门,下面把我自己踩得坑和所收获的一些经验分享出来: Django环境的安装大概就是两种方式,一种是PyCharm,另外一种就是通过命令行。 一、IDE安装 如 阅读全文
posted @ 2019-07-16 11:27 乱世有歌舞 阅读(1325) 评论(0) 推荐(0)
摘要:这一阵老大让我来搞搞前端,维护一下产品,问题是前端我也是一窍不通啊,研究了两天Html和Js,简单的写两个小例子练练手 这个例子要实现的效果图就是这个样子的 点击上一张或者下一张,实现图片的切换和上面文字的显示 代码很简单,直接贴出来: 阅读全文
posted @ 2019-07-13 11:35 乱世有歌舞 阅读(107) 评论(0) 推荐(0)
摘要:我从未感觉时间过得如此之快,开通这个博客已经三个月了,也是我下决心要做一个程序员的第三个月了。说起来有点可笑,四年的时间都没做好选择,也是对自己无话可说。不过也无伤大雅了,决定了的事情就好好做吧,没有放弃的道理。 这三个月,没有写博客,因为没时间,也因为没什么好写的,处在一个迷茫的阶段。 短短三个月 阅读全文
posted @ 2019-07-13 10:48 乱世有歌舞 阅读(212) 评论(0) 推荐(0)