Python Forum
Pyhton Coding Help Needed (very small error)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyhton Coding Help Needed (very small error)
#1
Hello, I am creating a Python Dice game called Beat That. I have gotten everything to work so far except for taking the players guess and comparing it to the highest possible number you can make. So let's say you roll a 5 and a 2 the highest number you could make it 52. So far when I enter the correct number it always says incorrect. Any help is appreciated.

In the screenshot below everything works except for the define turn section where it says "The highest number you could've made out of your roll is ...". It prints out the correct number but it marks it as incomplete.

This is the whole code: https://pastebin.com/2zaGZC9D

Thanks for reading :)
Reply


Messages In This Thread
Pyhton Coding Help Needed (very small error) - by friduk - Oct-23-2019, 01:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Coding error. xflyerwdavis 2 542 Oct-07-2023, 07:08 PM
Last Post: deanhystad
  Vlookup function in Pyhton antozas 1 662 Oct-02-2023, 04:16 AM
Last Post: vikraman
  Coding error. Can't open directory EddieG 6 1,146 Jul-13-2023, 06:47 PM
Last Post: deanhystad
  Coding Error EddieG 2 555 Jul-09-2023, 02:59 AM
Last Post: EddieG
  Help needed with a "for loop" + error handling tamiri 2 2,564 May-27-2022, 12:21 PM
Last Post: tamiri
  Reading Multiple text Files in pyhton Fatim 1 1,951 Jun-25-2021, 01:37 PM
Last Post: deanhystad
  python coding error isntitzee 1 2,227 Oct-17-2020, 06:30 AM
Last Post: buran
  Coding error- Not sure where I have put error markers against the code that is wrong Username9 1 1,750 Sep-28-2020, 07:57 AM
Last Post: buran
  coding error iro a menu Rollo 2 2,113 Sep-27-2020, 04:17 PM
Last Post: deanhystad
  Adafruit LIS3DH coding error FitDad73 1 2,026 Aug-30-2020, 01:37 AM
Last Post: bowlofred

Forum Jump:

User Panel Messages

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