一. <a>标签 0. 用图片当链接,就是把图片当成链接文字即可 <a href="http://www.baidu.com/" title="跳转到百度"> <img src='images/pic.jpg" alt="苹果"/> </a> 1. <a href="#">新闻标题</a> 这里的# ...
分类:
Web程序 时间:
2018-04-23 18:36:59
阅读次数:
235
{{name}} import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-bind', templateUrl: './bind.component.html', styleUrls: ['./bi... ...
分类:
其他好文 时间:
2018-04-23 18:35:56
阅读次数:
147
while True: a = input('1:摄氏转华氏\n2: 华氏转摄氏\n3: 退出\n') if a == '1': celsius = float(input('输入摄氏温度:')) fahrenheit = (celsius*9/5)+32 print('{:.2f}摄氏温度转为华氏 ...
分类:
其他好文 时间:
2018-04-23 17:12:02
阅读次数:
147
while True: a=input('1:摄氏温度\n2:华氏温度\n3:退出\n') if a=='1': c=float(input('请输入摄氏温度')) f=(c*9/5)+32 print('{:.2f}摄氏温度转换华氏温度{:.2f}'.format(c,f)) elif a=='2 ...
分类:
其他好文 时间:
2018-04-23 17:10:39
阅读次数:
163
while True: a=input('1:摄氏转华氏\n2:华氏转摄氏\n3:退出\n') if a == '1': celsius=float(input('输入摄氏温度')) fahrenheit=(celsius*9/5)+32 print('{:.2f}摄氏温度转为华氏温度为{:.2f} ...
分类:
其他好文 时间:
2018-04-23 17:08:54
阅读次数:
127
总结的很粗糙,以后时间富裕了好好修改一下。 1:Java语言定义了许多类专门负责各种方式的输入或者输出,这些类都被放在java.io包中。其中,所有输入流类都是抽象类InputStream(字节输入流),或者抽象类Reader(字符输入流)的子类;而所有输出流都是抽象类OutputStream(字节 ...
分类:
编程语言 时间:
2018-04-22 22:41:18
阅读次数:
263
a=input('请输入一个数字:') b=input('请再输入一个数字') sum2=int(a)+int(b) print('两个数字的和是:{}'.format(sum2)) a=input('请输入一个摄氏温度') sum2=int(a)*9/5+32 print('转换的华氏温度是:{}... ...
分类:
其他好文 时间:
2018-04-22 22:04:28
阅读次数:
252
Crazy Search Many people like to solve hard puzzles some of which may lead them to madness. One such puzzle could be finding a hidden prime number in ...
分类:
其他好文 时间:
2018-04-22 21:54:52
阅读次数:
213
前边我们已经详细的讲解了树莓派控制超声波模块测距(http://www.cnblogs.com/yuemo/p/8888342.html)和超声波控制蜂鸣器模块发声(http://www.cnblogs.com/yuemo/p/8906111.html)。 今天我们就来看看怎么把两个模块全都应用起来 ...
分类:
编程语言 时间:
2018-04-22 21:49:59
阅读次数:
210
Zhejiang University has 40000 students and provides 2500 courses. Now given the registered course list of each student, you are supposed to output the ...
分类:
其他好文 时间:
2018-04-22 21:46:49
阅读次数:
164