首页 > 编程语言 >快手Python笔试题【杭州多测师】【杭州多测师_王sir】

快手Python笔试题【杭州多测师】【杭州多测师_王sir】

时间:2022-09-29 20:00:07浏览次数:42  
标签:多测师 快手 static test 杭州 public

def test():
    for i in range(10):
        if i % 2 !=0:
            print("hello world")
        else:
            pass
test() #调用函数
package com.duoceshi.thread;

public class HelloWorld {

    public static void test(){
        for (int i = 0; i < 10 ; i++) {
            if (i % 2 == 0){
                continue;
            }else{
                System.out.println("hello world");
            }
        }
    }

    public static void main(String[] args) {
        HelloWorld.test();
    }
}

 

标签:多测师,快手,static,test,杭州,public
From: https://www.cnblogs.com/xiaoshubass/p/16742858.html

相关文章