Help with guessing game :D
Robert Gonda
robertgonda1994 at gmail.com
Tue Oct 29 09:03:55 EDT 2013
On Tuesday, 29 October 2013 12:58:09 UTC, Alister wrote:
> On Tue, 29 Oct 2013 05:05:19 -0700, Robert Gonda wrote:
>
> >>
>
> >> >
>
> >> > converting input()'s result to an integer, both of which suggest
>
> >>
>
> >>
>
>
>
> if you need to be checking individual digits you are probably best
>
> keeping the input & number to be checked as strings.
>
>
>
> it would then be a trivial task to expand this program to work with words
>
> as well as numbers.
>
>
>
>
>
>
>
>
>
> --
>
> "No one gets too old to learn a new way of being stupid."
I see, so how should i do it? I wouldn't mind having no text in it I just need the program to generate the number and the user to try to guess what the number is, so for example if a python would generate num 770 and the user would guess 870 it would say NYN
More information about the Python-list
mailing list