前面我我们学习了如何在控制台输出一句话,今天我们学习一下更详细的输出方式. Console.WriteLine();和Console.Write(); 我们来看一下下面几行代码, using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace hello { class Program { static voi…
python出输出字符串方式: >>> who='knights' >>> what='NI' >>> print ('we are the',who,'wha say',what,what,what,what) we are the knights wha say NI NI NI NI >>> print ('we are the %s who say %s'% (who,(what+' ')*4)) we are the kni…