Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

COMSATS University, Islamabad

Department of Computer Science


Lab Sessional 2
Subject: CSS101- Introduction to ICT Time Allowed: 60 minutes
Class: BSSE-1 Max Marks: 15
Registration Number: Name:

Write a Python script and draw a flowchart of the classic game “Hangman”. The
word to guess is represented by a row of dashes. If the player guess a letter which
exists in the word, the script writes it in all its correct positions. The player has 10
turns to guess the word.

Guessing word: Secret


Here is the sample output:

You might also like