Skip to content

Ayush200230/gfg-srm-Mandatory-Task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

gfg-srm-Mandatory-Task

Documentation of my Code-

In this program, I created a Prediction Simualator. here first i imported random library and then printed the statement "This is a Prediction Simulator" and then gave value 'y' to variable 'x' and then created a list to store 'head' and 'tail' in it. then a while loop is started where i equated x to y to run the loop if it's true and used random to get random values. if head is coming then there is no prediction but if tail is coming i am making it to redirect at another phase where dice is thrown and according to the number coming on the dice, prediction is printing accordingly. and in the end i used input to take input from the user as 'y' to once again run the program and if anything else then 'y' is inputed program will end.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages