Using Brackets within a print code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frostedgoddess
    New Member
    • Aug 2014
    • 1

    Using Brackets within a print code

    Code:
    a = int(input('Enter a number: '))
    number = a/3.95
    print(1 Messenger(s) =, number, Modus)
    this is the code, the brackets around the (s) do not function as they break the rest of the print code, how can I fix this?
    Last edited by bvdet; Aug 20 '14, 11:36 AM. Reason: Add code tags
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    Messenger(s) calls the function Messenger, and the variable you are printing, named Modus, is not declared anywhere. I would suggest reading page 16 and 17 in this tutorial

    Comment

    Working...