63 800
Assignments Done
99,5%
Successfully Done
In August 2018

Answer to Question #34145 in Python for Bill Waters

Question #34145
ans = input('data :')
if ans == 'y':
print(ans)
else: print('n')

this code when run in the python works as expected (if you enter 'y' it prints Y) but if you run the code using as Windows bat file if you enter 'y' it prints n... what is the deal?

Regards Bill
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions