logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

在wmware虚拟机里安装mysql

在虚拟机里安装mysql5.7数据库

#mysql#linux#服务器
python年龄判断,输入年龄,判断是否成年

age =int(input(“please your age?”))if age >18:print(‘你已成年,都’+str(age)+‘岁了’)else:print(‘teenager’)第一步,input时,需要把输入的转换成整型才能进行数值大小判断第二步,在输出时,有需要把整型转换成字符串输出如下为输出结果:...

#python
sh: 1: vue-cli-service: Permission denied npm ERR! code ELIFECYCLE npm ERR! errno 126 npm ERR! my-pr

在linux环境下,用npm run build编译打包前端,报以下错误:sh: 1: vue-cli-service: Permission deniednpm ERR! code ELIFECYCLEnpm ERR! errno 126npm ERR! my-project@0.1.0 build: vue-cli-service buildnpm ERR! Exit status ...

python在调用def函数打印结果时每次都多输出一个None,因为python中print函数需要返回值,如果你在print函数中所放的函数没有返回值,那么print将会return None

def person(name,age,**kw):print('name: ',name,'age: ',age,'other: ',kw)print(person(‘fangmuxun’,30))print(person(‘fangmutyao’,18,sex=‘girl’,address=‘南都花园’))执行后结果为:后面自己把打印结果的print去掉就好了```pythondef pers

#python#开发语言#后端
到底了