A trailing comma avoids the newline after the output : Print : Language Basics PYTHON examples


PYTHON examples » Language Basics » Print »

 

A trailing comma avoids the newline after the output


 

a, b = 01
while b < 1000:
     print b,
     a, b = b, a+b
 

           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Language Basics
» Print