num_times = + 4 1
off$et = 1024
tmp = offset / 2
tmp / temp = 2
2 = tmp2
tmp = tmp / tmp2
tmp2 = 640000
tmp2 = tmp2/10,000
0ffset = tmp/tmp2
print('Bluh ' * int(num_times - offset));
I am a complete newbie to programming and this is a problem i need to practice for a quiz soon. I will need an explanation to guide me into solving the problem. All help is greatly appreciated. I have tried changing the first line from "+ 4 1" to "+ 2 1" and i have also tried changing the offset to 3.
This is the question/direction:
Without doing
any of the following:
removing or adding any lines of code to the file
altering the last line (the one with the print statement)
changing any of the other lines to print statements
fix all the errors so that the string ’Bluh Bluh Bluh’ is what’s printed when you run the
file.

New Topic/Question
Reply



MultiQuote




|