= ['1','2','3','4','5','6','7','8','9']
for i in range(len(a)):
if int(a[i]) % 2 == 0:
a[i] = " "
print(" ".join(a))
阅读全部 | 玖月 贴于 2019-05-01 21:46:29 hide bbsi
[C语言]小臧 贴于 2019-04-29 11:43:48
1:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before string constant
INPUT"x=";x
^
1:11: error: unknown type name ‘x’
INPUT"x=";x
^
3:1: error: expected ‘,’ or ‘;’ before ‘PRINT’
PRINT"y=";y=x^2+x^3-x
^
3:11: warning: data definition has no type or storage class
PRINT"y=";y=x^2+x^3-x
^
......................
阅读全部 | 小臧 贴于 2019-04-29 11:43:49 hide bbsi
[C语言]Near_L 贴于 2019-04-21 17:39:40
clear all;close all;clc
mu=0.00004;
lamuta1=0.2;
lamuta2=0.9;
h1=0;
h2=0.5;
h12=h2-h1;
hs=(h2*h2-h1*h1)/2;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
k11=-0.932;
k22=-0.231;
I6=eye(6);
......................
阅读全部 | Near_L 贴于 2019-04-21 17:39:41 hide bbsi
小虫子
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title> 炫酷的爬行动画鼠标跟随-jq22.com</title>
<script src="http://www.></script>
<style>
</style>
</head>
<body>
<div></div>
......................
阅读全部 | 戴子涵 贴于 2019-04-17 18:32:04 hide bbsi
[C语言]biutt 贴于 2019-04-17 14:10:40
#include<stdlib.h>
#include<stdio.h>
#define Maxsize 20
void menu(){
printf("------------------------\n");
printf("输入0初始化线性表:\n");
printf("输入1给线性表赋值:\n");
printf("输入2输出线性表元素:\n");
printf("输入3查询线性表某一元素:\n");
printf("输入4插入元素至线性表:\n");
printf("输入5删除线性表中某一元素:\n");
printf("输入6清空线性表:\n");
......................
阅读全部 | biutt 贴于 2019-04-17 14:10:41 hide bbsi
[Python]urllib2(2).py
import urllib2
f=urllib2.urlopen(raw_input("Please enter the URL:"))
ff=open(raw_input("Please enter the filename:"),"w+")
for x in range(1,1000):
s=f.read()
ff.write(s)
ff.close()
阅读全部 | cstdio 贴于 2019-04-04 17:59:18 hide bbsi
[Java]第一篇
class zpd{
public static void main(String []args){
system.out.println("Hello world");
}
阅读全部 | 张攀登 贴于 2019-03-24 13:36:51 hide bbsi
[C语言]算术
Private Sub Command_Click()
End Sub
Dim x As Lnteger, y As Integer, z As Integer
Dim x_max As Integer, y_max As Integer, z_max As Integer
Dim f(4, 3, 8) As Single '?????????f??x,y,z)???????f
Dim f_max As Single
'??????????? ??1??1????x,y,z????f(1,1)??x,y,z????f(x,y,z)=4x+3y+2z?????
For x = 0 To 4
For y = 0 To 3
For z = 0 To 8
If (2 * x + 2 * y + z <= 12) And (x + 2 * y + z <= 8) Then
......................
阅读全部 | x211504874 贴于 2019-03-23 21:16:45 hide bbsi
[C语言]udpdump1.c
/*
* Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy)
* Copyright (c) 2005 - 2006 CACE Technologies, Davis (California)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
......................
阅读全部 | Administraor 贴于 2019-03-23 20:25:13 hide bbsi
[C语言]udpdump.c
/*
* Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy)
* Copyright (c) 2005 - 2006 CACE Technologies, Davis (California)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyrig