- Joined
- Feb 19, 2013
- Messages
- 1
- Reaction score
- 0
num_times = 4 + 1
offset = 1024
tmp = offset / 2
tmp = tmp/2
tmp2 = 2
tmp = tmp / tmp2
tmp2 = 640000
tmp2 = tmp2/10,000
offset = tmp / tmp2
print('Bluh ' * int(num_times - offset))
It's my first time learning about computer science and in line 9 it says i have a 'float' and 'tuple'. I need it to print 'Bluh' three times. I'm not exactly sure what is wrong with line 9. Can anyone help?
offset = 1024
tmp = offset / 2
tmp = tmp/2
tmp2 = 2
tmp = tmp / tmp2
tmp2 = 640000
tmp2 = tmp2/10,000
offset = tmp / tmp2
print('Bluh ' * int(num_times - offset))
It's my first time learning about computer science and in line 9 it says i have a 'float' and 'tuple'. I need it to print 'Bluh' three times. I'm not exactly sure what is wrong with line 9. Can anyone help?