Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: I guess it's about print
Post: I guess it's about print

code: money=1000 取款=int(input('请输入取款金额:')) if 取款<=money: print('请拿好钞票',取款) print('账户余额为:', money = money-取款) else: print('余额不足,现有:', money) print('请再次输入取款金额:')result Error:请输入取款金额:...
tsavoSG General Coding Help 2 2,138 Feb-07-2021, 02:41 PM
    Thread: super newbie question: escape character
Post: RE: super newbie question: escape character

(Jan-13-2021, 01:08 AM)bowlofred Wrote: You have different terminal emulators that are probably dealing with the carriage return character \r differently. The program is sending the same characters...
tsavoSG General Coding Help 3 2,501 Jan-13-2021, 04:31 AM
    Thread: super newbie question: escape character
Post: RE: super newbie question: escape character

well, this is all the code, it's something like my third day in Python world i'm starting from the very beginning.
tsavoSG General Coding Help 3 2,501 Jan-13-2021, 04:27 AM
    Thread: super newbie question: escape character
Post: super newbie question: escape character

i'm trying pycharm and idle at the same time, and found a strange situation print("1 hello") print("2 hell\n o") [color=#E74C3C]print("3 hell\r xxx") print("4 hell\rxxx") print("5 hell\b o")[/color] p...
tsavoSG General Coding Help 3 2,501 Jan-13-2021, 12:29 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020