推荐六个我日常使用的六个 WordPress 插件,已经用了好久,并且全部免费。 缺陷修复 SSL 不安全内容修复器(免费) 顾名思义,用来修复 SSL 覆盖不完全的问题,避免出现报错或安全问题。 超级缓存(免费) WordPress 太过庞大,会导致页面加载缓慢(特别是低配服务器上),这个插件可以…
用各种语言写判断奇偶数
Python
while True: num = int(input()) if (num % 2) == 0: print('偶数') else: print('奇数')
C 语言
#include <stdio.h> int main(){ while (1){ int num; scanf("%d", &num); if ((num % 2) == 0){ printf("偶数"); }else{ printf("奇数"); } } }
JAVA(ChatGPT翻译)
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (true) { int num = scanner.nextInt(); if (num % 2 == 0) { System.out.println("偶数"); } else { System.out.println("奇数"); } } } }
PinkShell
$ mode compile; defined function auto_int main() do while do auto_int num -> input(); if (num % 2) == 0 then output.echo('偶数'); else output.echo('奇数'); end end end
<html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>获取选中文…
此文章有争议,请理性观看 疫情之后,不知道哪里吹来的风,至少在 B 站上出现了很多神神,大喊“幽默”“遥遥领先”“眼里有光”“影响我一个月 3000 工资吗?”之类的话,再配上幽默的小曲,真是经经又典典啊! 而且奇怪的是,这些神神只会抱怨,几乎没有什么人提出解决办法,还喜欢划分立场,分成了“兔兔”与…