This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shivsidhi
Recipients ezio.melotti, mrabarnett, shivsidhi
Date 2019-01-03.04:57:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546491460.13.0.00460604445854.issue35645@roundup.psfhosted.org>
In-reply-to
Content
'\a' in a command line gives  '\x07' in response.Tried '\a' in a calci programe but response gives me enter a valid data and a small box but o alarm. Do we have any ways to rectify the same. if so please let me know.

print('enter a value from the below list\n')
a = input('enter a value + , - ')

if a!= '+' and a!= '-' :
    print ('enter a valid data \a')
elif a == '+':
    b = eval(input('enter first value'))
    c=eval(input('enter 2nd value'))
    add = b+c
    print (b,'+',c,'=',add)
elif a== '-':
    b = eval(input('enter first value'))
    c=eval(input('enter 2nd value'))
    sub=b-c
    print (b,'-',c,'=',sub)
History
Date User Action Args
2019-01-03 04:57:44shivsidhisetrecipients: + shivsidhi, ezio.melotti, mrabarnett
2019-01-03 04:57:40shivsidhisetmessageid: <1546491460.13.0.00460604445854.issue35645@roundup.psfhosted.org>
2019-01-03 04:57:40shivsidhilinkissue35645 messages
2019-01-03 04:57:39shivsidhicreate