By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,118 Members | 1,133 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,118 IT Pros & Developers. It's quick & easy.

Using Brackets within a print code

P: 1
Expand|Select|Wrap|Line Numbers
  1. a = int(input('Enter a number: '))
  2. number = a/3.95
  3. 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?
Aug 20 '14 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 619
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
Aug 20 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.