# -*- coding: utf-8 -*- """ Sibliroste tis grammes 15 eos 19 etsi oste stin print tis grammis 22 na emfanizontai oi theseis olon ton a @authors: stkarlos """ #paradeigma xrisis tis print me ta % z = 5 print " tiponei ton akeraio %d pou epilegetai sto deksi meros meta t % " %z #telos paradeigmatos s = 'Anaconda has eight characters' print ' string s = %s , has %d a ' %(s, s.count('a')) p1 = p2 = p3 = p4 = p5 = print ' ' print ' the positions inside this string that contain a are %d, %d, %d, %d and %d' %(p1,p2,p3,p4,p5)