摘要:
给定一个整数数组 nums 和一个整数目标值 target,请你在该数组中找出 和为目标值 target 的那 两个 整数,并返回它们的数组下标。 你可以假设每种输入只会对应一个答案。但是,数组中同一个元素在答案里不能重复出现。 你可以按任意顺序返回答案。 示例 1: 输入:nums = [2,7, 阅读全文
posted @ 2022-05-01 22:09
wjxuriel
阅读(24)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>渐变</title> <style> #grad1 { height: 200px; background-color: red; /* 浏览器不支持时显示 */ backgrou 阅读全文
posted @ 2022-05-01 21:13
wjxuriel
阅读(28)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>阴影</title> <style> div { width: 300px; height: 100px; background-color: yellow; /* {box-sh 阅读全文
posted @ 2022-05-01 21:11
wjxuriel
阅读(29)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-05-01 21:08
wjxuriel
阅读(91)
评论(0)
推荐(0)
摘要:
import turtle as t t.pensize(6) # 设置画笔大小 t.goto(-100, 100) t.goto(-100, -100) t.goto(0, 0) 阅读全文
posted @ 2022-05-01 20:47
wjxuriel
阅读(54)
评论(0)
推荐(0)
摘要:
import turtle pen = turtle.Turtle() # 设置窗口大小 turtle.setup(300, 400) pen.forward(100) pen.left(90) pen.forward(100) pen.left(90) pen.forward(100) pen.l 阅读全文
posted @ 2022-05-01 20:42
wjxuriel
阅读(96)
评论(0)
推荐(0)

浙公网安备 33010602011771号