Skip to content

Commit

Permalink
Database select command programs
Browse files Browse the repository at this point in the history
  • Loading branch information
linrakesh committed Nov 25, 2019
1 parent c144698 commit 06a1ed9
Show file tree
Hide file tree
Showing 24 changed files with 1,086,502 additions and 13 deletions.
Binary file added AdsForComp.mp4
Binary file not shown.
4 changes: 4 additions & 0 deletions ModuleExamples/Mtah_factorial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import math as m
n = int(input('Enter any integer number :'))
num = m.factorial(n)
print('Factorial of ',n,'is :',num)
7 changes: 5 additions & 2 deletions Projects/Hangman_game.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Hangman Games
9# Hangman Games
# program by : rakesh kumar
# website : https://cbsetoday.com

Expand All @@ -19,7 +19,9 @@

# counter variable is used to track number of wrong letters.
# a user can make If it is 6 then terminate the program and print message

for i in lines:
print(i, end=" ")

counter = 0
while True:
letter = input('\nGuess your letter :')
Expand All @@ -43,5 +45,6 @@

if counter >= 6:
print("\n\n\n You looser..............Think properly")
print('Original Words : ',word)
else:
print("\n\n\n Yes!!!!!!!!!!! You WON this match")
Loading

0 comments on commit 06a1ed9

Please sign in to comment.