:
> В 10:06 -0500 на 15.02.2010 (пн), bob gailer написа:
> > Yaraslau Shanhin wrote:
> >
> > > Hello All,
> >
> > Hello.
> >
> > Suggestion for future questions - just include enough to identify the
> > problem. We don't need to know that th
t("How many times should it be printed?")
try:
number = int(snumber)
except ValueError:
print(ssnumber, "is not an integer.")
else:
print (text * snumber)
Output:
Type in some text: some
How many times should it be printed?5
How many times should it be printed?5 is not an i
Hello All,
I am working with Python tutorial in wiki and one of the exercises is as
follows:
Ask the user for a string, and then for a number. Print out that string,
that many times. (For example, if the string is hello and the number is 3 you
should print out hellohellohello.)
Solution for this