Python Forum
Making a percentile dice roller and dice roller
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making a percentile dice roller and dice roller
#2
You are missing a close parentheses at the end of line 7. You appear to be using f-string syntax, but inconsistently and incorrectly. '!55x2 {User} {Ammount}' is the most correct you have, but you need an 'f' before the string (and User and Ammount need to be defined).

I don't know why your while loop is indented, and it will never end (you never change B55x2 within the loop). I don't know why your if statements are indented.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: Making a percentile dice roller and dice roller - by ichabod801 - Sep-30-2018, 11:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  np.percentile returns wrong value? AceTylercholine 2 669 Jul-13-2023, 06:59 PM
Last Post: Skaperen
  While loop not ending (Best of 10 dice game) K3nidi 3 1,512 Jul-09-2022, 09:53 AM
Last Post: K3nidi
  Dice Roll (Find out how many rolls until specified streak) DustinKlent 4 4,020 Jun-13-2021, 09:44 AM
Last Post: Gribouillis
  Help with dice roll program kraco 4 2,122 Sep-22-2020, 02:06 PM
Last Post: kraco
  Help with rerolling the dice blacklight 3 2,963 Jul-01-2020, 05:35 PM
Last Post: blacklight
  game of the goose - dice problem koop 4 3,508 Apr-11-2020, 02:48 PM
Last Post: ibreeden
  simple dice roll Byzas 1 2,358 Mar-21-2019, 02:29 AM
Last Post: ichabod801
Photo roll of the dice kyle007 0 1,733 Mar-11-2019, 01:58 AM
Last Post: kyle007
  Dice game Mazzo76 1 1,979 Feb-26-2019, 11:55 AM
Last Post: Larz60+
  Issue with my 'roll the dice simulation'-exercise (cannot break out of the loop) Placebo 2 3,523 Sep-30-2018, 01:19 PM
Last Post: Placebo

Forum Jump:

User Panel Messages

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