python code is not working
random number generator is showing some syntax errors
Please provide with the correct error information such as a screenshot. None in this forum will be able to help you with such queries if you do not provide an appropriate view.
2 Likes
Import random module in python code if not earlier.
hi .here with I have explain that random number generation code .can you check .you have correctly written that code .
- import random // importing a random function .please kindly check all are lower case.
2 . variable = random. random() // here we are calling that random function and store it to the variable. - print(variable) // shows a output
and also note that intentation also importand…