Python Forum
Help!! Help! python fake bank system
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help!! Help! python fake bank system
#4
>>> one = '1'
>>> one
'1'
>>> one + 1
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: must be str, not int
>>> int(one)
1
>>> int(one) + 1
2
>>> one == 1
False
>>> int(one) == 1
True
>>> one == '1'
True
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: Help!! Help! python fake bank system - by ichabod801 - Oct-05-2017, 01:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is it possible to make a bank transfer with python? funkynerd 3 3,664 Nov-30-2020, 09:20 PM
Last Post: Marbelous

Forum Jump:

User Panel Messages

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