码迷,mamicode.com
首页 >  
搜索关键字:please    ( 3193个结果
面试题编程题06-python 输入一个字符串,反转输出
1 s=input('Please input the string:') 2 temp=list(s) 3 temp.reverse() 4 #列表转换为字符串 5 print(''.join(temp)) ...
分类:编程语言   时间:2019-05-24 12:32:16    阅读次数:179
if循环判断
if循环判断 if else循环的语法格式 if 逻辑判断句: ? 代码块 缩进表示所属关系 else 逻辑判断句: ? 代码块 if 和elif同时使用来做多层判断 if 逻辑判断式: 代码块 elif 逻辑判断式: ? 代码块 if的嵌套使用 在if判断句中可以继续加入if的判断模块 例:if ...
分类:其他好文   时间:2019-05-22 20:53:39    阅读次数:156
Spark SQL 报错总结
解决SparkSQL部分报错 一、Caused by: org.datanucleus.store.rdbms.connectionpool.DatastoreDriverNotFoundException: The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH. Please check your CLASSPATH specification, and the name of the driver. 二、Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://192.168.1.201:3306/hiveDB?createDatabaseIfNotExist=true
分类:数据库   时间:2019-05-21 22:40:25    阅读次数:1664
交互,格式化输出,运算符,解压缩!
交互 现阶段暂时用input进行交互 input()的作用是接收值,而且不管输入的是什么类型的值,最后被赋值的对象都是字符串类型。 格式化输出 + 占位符 + format格式化 + f string格式化 基本运算符 + 算数运算符 + 比较运算符 + 赋值运算符 + 逻辑运算符 + 身份运算符 ...
分类:其他好文   时间:2019-05-21 21:07:34    阅读次数:153
冒泡法
python版 C语言版 最优时间复杂度:O(n) (表示遍历一次发现没有任何可以交换的元素,排序结束。) 最坏时间复杂度:O(n2) 稳定性:稳定 ...
分类:其他好文   时间:2019-05-21 11:24:23    阅读次数:104
B - Flipping Game (组合数学+dp+思维)
Little Sub loves playing the game Flip Me Please. In the game, lights, numbered from 1 to , are connected separately to switches. The lights may be ei ...
分类:其他好文   时间:2019-05-20 16:59:27    阅读次数:244
business from English bisynes
Etymology business From English bisynes Hyphenation: business Noun business (countable and uncountable) 1.(countable) A specific commercial enterprise ...
分类:其他好文   时间:2019-05-19 12:04:22    阅读次数:91
pip 安装出现提示
The directory '/home/zdj/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the p ...
分类:其他好文   时间:2019-05-18 23:53:51    阅读次数:193
C++ 统计输入的句子有多少英文字母
// ConsoleApplication1.cpp: 定义控制台应用程序的入口点。//#include "stdafx.h"#include <iostream>#include <string>using namespace std; int countnubstr(string str){ i ...
分类:编程语言   时间:2019-05-18 23:52:16    阅读次数:170
PSTAT 160A PYTHON HOMEWORK
PYTHON HOMEWORK 5 – DUE 5/15 AT 5:00 PMPSTAT 160A – S19Professor HohnInstructions: Please note that you must work by yourself ! You will submit two fi ...
分类:编程语言   时间:2019-05-18 21:02:06    阅读次数:203
3193条   上一页 1 ... 51 52 53 54 55 ... 320 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!