Help! New user

Discussion in 'Python' started by Theamazinasn, Feb 19, 2013.

  1. Theamazinasn

    Theamazinasn

    Joined:
    Feb 19, 2013
    Messages:
    1
    Likes Received:
    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?
     
    Theamazinasn, Feb 19, 2013
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. scadav
    Replies:
    2
    Views:
    557
    scadav
    Jul 3, 2004
  2. ABC
    Replies:
    1
    Views:
    2,897
    Larry
    Oct 4, 2005
  3. ABC
    Replies:
    0
    Views:
    657
  4. John

    New user needs help

    John, Feb 21, 2004, in forum: Python
    Replies:
    4
    Views:
    461
    wes weston
    Feb 21, 2004
  5. vj
    Replies:
    3
    Views:
    384
    Sybren Stuvel
    Mar 22, 2006
  6. Scott
    Replies:
    2
    Views:
    935
    Gregory A. Beamer
    Nov 13, 2008
  7. ABC
    Replies:
    0
    Views:
    399
  8. weblinkunlimited@gmail.com

    Javascript new-new-new-new-newbee

    weblinkunlimited@gmail.com, Mar 10, 2008, in forum: Javascript
    Replies:
    2
    Views:
    843
    Thomas 'PointedEars' Lahn
    Mar 11, 2008
Loading...