0 :: funcio printf

per Jordi Farrero darrera modificació 2020-03-25T15:52:55+02:00

text/x-python spython1.py — 1 KB

Continguts del fitxer

#! /usr/bin/env python

# ************ NO BORRAR ****************
from __future__ import print_function
def printf(str, *args):
    print(str % args, end='')
# ************ NO BORRAR ****************

numero_max = int(raw_input('Valor de X:\n'))

for valor_bucle in range(0,numero_max):
    printf('X')

print('\n')