#๐Ÿ”’ Hi I have an assignment due for tomorrow and I don't understand how to code this.

8 messages ยท Page 1 of 1 (latest)

bright sun
#

Create a function to simulate dice rolls. The function rolls the dice until it gets a 6. It returns the number of dice rolls made before getting a 6. Your program prints the requested number of rolls.

I haven't started to code this. Can anyone help me code this? tysm.

river juncoBOT
#

@bright sun

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

bright sun
#

I don't understand how to code this. I just need someone to explain how to code (not necessarily create the code for me). Just what parameters, function, etc. I need to use and stuff

tribal sparrow
#

@bright sun please use your current thread

#

#1287211616047333427

#

!close

river juncoBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.