调整名字大小写: 将用户输入的姓名存到一个变量中,再以小写,大写和首字母大写的方式显示这个人的名字,并向用户显示一条消息。显示的消息应非常简单:Hello XXX,welcome to the world of Python! name = input("请输入你的名字:") print(name) ...
分类:
编程语言 时间:
2020-05-04 19:46:11
阅读次数:
76
Monster Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 3223 Accepted Submission(s): 969 Problem ...
分类:
其他好文 时间:
2020-05-04 19:24:54
阅读次数:
63
累加#include <stdio.h>#define MAX 10int main() { int n; int a[MAX]; int sum = 0; printf("Input the number of figure(<=10):\n"); scanf("%d",&n); for(int ...
分类:
其他好文 时间:
2020-05-04 15:26:15
阅读次数:
73
Delphi WinAPI WaitForSingleObject-等待函数-等待指定对象处于有信号状态或超时间隔结束。 函数原型: DWORD WaitForSingleObject( HANDLE hHandle, //句柄 DWORD dwMilliseconds //超时间隔毫秒 ); 返回 ...
package LeetCode_1426 import java.util.* /** * 1426. Counting Elements * Given an integer array arr, count element x such that x + 1 is also in arr. * ...
分类:
其他好文 时间:
2020-05-04 13:31:24
阅读次数:
53
from django.forms.widgets import RadioSelect class ColorRadioSelect(RadioSelect): # input_type = 'radio' # template_name = 'django/forms/widgets/radio ...
分类:
其他好文 时间:
2020-05-04 13:30:31
阅读次数:
96
1 player = int(input("请输入您要出的拳:石头(1)/剪刀(2)/布(3):")) 2 computer = 1 3 print("玩家选择的是%d-电脑选择的是%d" % (player, computer)) 4 if (player == 1 and computer == ...
分类:
其他好文 时间:
2020-05-04 13:22:38
阅读次数:
57
1:建立一个AS工程,建立目录结构如图 2:在buildSrc文件夹下面,建立两个.groovy文件,分别为ProjectVersion.groovy 和 ReleaseVersionTask.groovy 其中ReleaseVersionTask.groovy代码为: package com.gr ...
分类:
其他好文 时间:
2020-05-03 20:47:01
阅读次数:
95
jquery导航菜单制作红色商城导航下拉菜单样式代码https://www.mk2048.com/demo/demo_target_desc.php?id=baakja12jjs 3d标签云特效关键词文字球状标签云代码https://www.mk2048.com/demo/demo_target_d ...
分类:
其他好文 时间:
2020-05-03 20:17:07
阅读次数:
60
You are given an m * n matrix, mat, and an integer k, which has its rows sorted in non-decreasing order. You are allowed to choose exactly 1 element f ...
分类:
其他好文 时间:
2020-05-03 18:14:33
阅读次数:
59