Python Forum
These simple equations comes up as an error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
These simple equations comes up as an error
#1
I dont know what is going wrong and I would like to fix this.

DB = input()

x = "float(DB)/10"
y = "float(x)+11"
z = "float(y)/100"



print ("Is this the date of your birthday?"+z)
Thanks, M3RCY
Reply


Messages In This Thread
These simple equations comes up as an error - by M3RCY - Jun-26-2017, 06:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Simple code error please help bntayfur 7 3,489 Jun-08-2020, 02:22 AM
Last Post: pyzyx3qwerty
  Adding second message to simple loop error PythonGainz 2 2,101 Apr-06-2020, 11:55 AM
Last Post: PythonGainz
  Beginner - simple package installation error mefeng2008 0 1,734 Mar-13-2020, 09:17 AM
Last Post: mefeng2008
  Simple python code error cls0724 5 3,349 Mar-12-2020, 07:45 PM
Last Post: stullis
  Error with simple "or" statement? Mark17 4 2,327 Nov-15-2019, 05:16 PM
Last Post: Mark17
  Simple question - ERROR UnitedK 1 2,416 Sep-24-2018, 11:11 AM
Last Post: wavic
  Can't figure out the syntax error, relatively simple code maho686868 3 3,151 Jul-08-2018, 03:43 PM
Last Post: volcano63
  Simple syntax error help paulmj7 4 3,601 Aug-02-2017, 09:56 AM
Last Post: buran
  Syntax error for simple script pstein 2 4,019 Jun-26-2017, 03:46 PM
Last Post: snippsat
  Simple tictactoe with error mut4ntch1ck 2 3,154 Feb-22-2017, 11:28 PM
Last Post: mut4ntch1ck

Forum Jump:

User Panel Messages

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