hi,
Im trying to write a function that decompresses a string and returns the original string.
for example:
p3B2c4 will be pppBBcccc
this is what I have tried to do, the function returns nothing....
Type: Posts; User: Nastia Kozak
hi,
Im trying to write a function that decompresses a string and returns the original string.
for example:
p3B2c4 will be pppBBcccc
this is what I have tried to do, the function returns nothing....
hi,
I need to write a function that prints "n" lines from a file (if n is bigger than the number of lines in the file than it just prints the whole file). I tried to write it but it doesn't work
...
yes I know, I can get the right digit of the number using the modulu, but I don't know how to continue.
I haven't actually written anything yet because I don't have any idea .
I started with that but i don't know how to continue..:confused:
hello,
I need to write a function which shifts the right digit of a number to the left.
for example:988 will be 898.
I can use loops, pow function and if/else.
if someone can help me i will be...