perl语言怎样把一个数在同一行输出两遍?

2025-05-19 19:37:04
推荐回答(3个)
回答1:

print $a,$a;

回答2:

print "$i" x 2;

回答3:

print “$a$a”;