ICode9

精准搜索请尝试: 精确搜索
  • HTML复习day012021-02-03 22:34:13

    1. 常见的浏览器内核 1 IE Trident 2 firefox Gecko 3 Safari webkit (安卓 苹果 大部分国产) 4 chrome Chromlum/blink 2. web 标准 web 标准的三层组成 结构 表现 和行为 3. HTML 是一种超文本标记语言 组成 由文本和标签和图片组成 4. HTML骨架 <htm

  • 来自初级程序员的问候:如何用C语言画一个“圣诞树”?2020-12-25 20:35:23

    一年一度的圣诞节又来临了。在这个越来越受到国人重视的节日中,每个人有每个人的浪漫方式,当然程序员们也不例外。 ​ 下面就是来自初级程序员的问候,看他是如何为这个节日增添不一样的气氛的。 源代码演示: 如何用C语言画一个“圣诞树”,用了左右镜像的Sierpinski triangle,每层减去上

  • 如何用Python画一个圣诞树呢?2020-12-24 13:35:54

    # ./sd.py * *** ***** ******* ********* |[root@bogon shengdan]# vim sd.py[root@bogon shengdan]# cat sd.py#!/usr/bin/python# -*- coding: utf-8 -*-height = 5stars = 1for i in range(height): print((' ' * (height - i)) + ('*�

  • 在圣诞节用shell脚本做一棵圣诞树送给女朋友,让她感受来自IT男的浪漫。2020-12-21 19:58:01

    [root@gcc opt]#vim p.sh #!/bin/bash for((i=5;i>=1;i--)) do for((a=1;a<=$i+4;a++)) do echo -n " " done for((b=5;b>=$i;b--)) do echo -n "*" done for((c=4;c>=$i;c--)) do echo -n "*" done echo "

  • #分治#JZOJ 4211 送你一颗圣诞树2020-08-15 17:34:03

    题目 有\(m+1\)棵树分别为\(T_{0\sim m}\),一开始只有\(T_0\)有一个点,编号为0。 对于每棵树\(T_i\)由T_{a_i}\(的第\)c_i\(个点与\)T_{b_i}\(的第\)d_i\(个点连接后形成。 其中边\)(c_i,d_i)\(的权值为\)l_i\(,若\)T_{a_i}\(有\)s\(个节点,那么原\)T_{b_i}\(部分的编号都要加上\)s$

  • 圣诞树小程序的制作2019-12-30 18:03:06

    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Diagnostics;using System.Drawing;using System.Linq;using System.Runtime.InteropServices;using System.Text;using System.Threading.Tasks;using System.Wi

  • python实现圣诞树2019-12-21 19:03:12

    先来个迷你的 *_* height = 5 stars = 1 for i in range(height): print((' ' * (height - i)) + ('*' * stars)) stars += 2 print((' ' * height) + '|') 再整个花里胡哨的 import turtle screen = turtle.Screen() screen.setup(80

  • Python画一棵漂亮的樱花树(不同种樱花+玫瑰+圣诞树喔)2019-11-30 16:02:49

    不少用Python(大多是turtle库)绘制的树图,感觉很漂亮,我整理了一下,挑了一些我觉得不错的代码分享给大家(这些我都测试过,确实可以生成喔~)one 樱花树  动态生成樱花效果图(这个是动态的):​       实现代码   import turtle as T import random import time # 画樱花的躯

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有