0% found this document useful (0 votes)
2 views3 pages

Flowcharts and Python Code

The document outlines a simple game structure where players report the number of rounds played. If they play five or more rounds, they can level up; otherwise, they are encouraged to try again. Additionally, it includes a Python code snippet that calculates points based on rounds played and determines the player's outcome as either a winner, leveling up, or needing to try again.

Uploaded by

Siv K
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Flowcharts and Python Code

The document outlines a simple game structure where players report the number of rounds played. If they play five or more rounds, they can level up; otherwise, they are encouraged to try again. Additionally, it includes a Python code snippet that calculates points based on rounds played and determines the player's outcome as either a winner, leveling up, or needing to try again.

Uploaded by

Siv K
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Start

State how many


rounds you’ve
played

Is No. of
rounds five
or more

Yes No

Level Up! 😊 Try Again ☹

End
Python Code (extension):

😊I did level 3

Rounds = int(input("How many rounds do you play "))

Points = Rounds * 10

if Points >=100:

print("Winner!")

elif Points >=50:

print("Level Up!")

else:

print("Try again")

You might also like