自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 【记录贴】IPP4. Use the data in the array’s objects to print ehe month with the most/ least rain

Month classclass Month implements Comparable <Month>{ private String monthName; // Field for the Month's name private int amount; // Field for the amount of ra.

2021-04-20 16:58:10 91

原创 【记录贴】IPP3. Convert a Fahrenheit temperature to Celsius and Kelvin.

任务要求:Temperature Class (Temperature.java)• One field, a double, named fTemp. • One constructor that accepts one argument.o The constructor should assign the value of this argument to fTemp. • A method named toCelsius that returns the temperature (value

2021-03-27 21:25:43 123

原创 b站马士兵视频练习_第八站

目录1.什么是元组2.元组的创建方式3.元组的遍历4.什么是集合5.集合的创建6.集合的增删改操作7.集合的生成一、什么是元组二、元组的创建方式t = ('a','b',23)print(t)t2 = 'a','b',23print(t2)t3 = tuple(('a','b',23))print(t3)运行结果(‘a’, ‘b’, 23)(‘a’, ‘b’, 23)(‘a’, ‘b’, 23)三、元组的遍历两种获取元组的方式t = ('a.

2021-03-07 09:33:40 269 3

原创 b站马士兵视频练习_第七站

目录:字典及其原理字典的创建字典元素的获取字典的常用操作字典的生成式一、字典及其原理二、字典的创建第一种创建scores = {'a':23,'b':34,'c':65}print(scores)print(type(scores)){‘a’: 23, ‘b’: 34, ‘c’: 65}<class ‘dict’>第二种创建student = dict(name = 'jack', age = 20)print(student){‘nam

2021-03-04 20:21:00 184 3

原创 Python For Everyone Chapter6 Exercises

Exercise 5: Take the following Python code that stores a string: str = ‘X-DSPAM-Confidence:0.8475’ Use find and string slicing to extract the portion of the string after the colon character and then use the float function to convert the extracted string i.

2021-02-24 16:20:43 183

原创 b站马士兵python视频练习_第六站

1.列表的创建与删除2.列表的查询操作lst = ['hello','world',98,'hello']print(lst.index('hello',1,3)) #不包括3,所以查找的是world和98.以下是shell的运行结果Traceback (most recent call last):File “/Users/cici/Downloads/乘法表.py”, line 25, in print(lst.index(‘hello’,1,3))ValueErr

2021-02-19 20:00:58 180

原创 b站马士兵python视频练习_第五站(部分)

Python视频学习_练习

2021-02-19 17:45:25 141

原创 Python for Everyone 练习

#PY4E Chapter5 Exercises练习题目如下Exercise 1: Write a program which repeatedly reads numbers until the user enters “done” . Once “done” is entered, print out the total, count, and average of the numbers. If the user enters anything other than a number, dete

2021-02-19 16:11:05 630

空空如也

空空如也

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

TA关注的人

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