diff --git a/Python/task/sneha_python/game.py b/Python/task/sneha_python/game.py new file mode 100644 index 00000000..115a0a4b --- /dev/null +++ b/Python/task/sneha_python/game.py @@ -0,0 +1,51 @@ +import random +g=int(input("enter goal score:")) +player1=input("enter player_1 name:") +player2=input("enter player_2 name:") +print(".........GAME START.........") +score1=0 +score2=0 +def dice(): + return random.randint(1,6) + +while score1<=g and score2<=g: + player1roll=dice() + print(f"{player1} scored :{score1}") + score1+=player1roll + + #print(player1,"score1:",score1) + print("****************") + + if score1<=g: + + if score1==g: + #print(player1,"score1:",score1) + print(f"{player1} scored :{score1}") + print("****************") + print(" congratulations!!!",player1,"wins") + print("..................................") + print("THANK YOU FOR PLAYING!!!") + break + + player2roll=dice() + print(f"{player2} scored :{score2}") + score2+=player2roll + #print(player2,"score2",score2) + print("****************") + + if score2<=g: + + if score2==g: + print(f"{player2} scored :{score2}") + #print(player2,"score2:",score2 ) + print("****************") + print(" congratulations!!!",player2,"wins") + print("..................................") + print("THANK YOU FOR PLAYING!!!") + break + + if score1>g: + score1=score1-player1roll + + if score2>g: + score2=score2-player2roll diff --git a/Python/task/sneha_python/game_ss.png b/Python/task/sneha_python/game_ss.png new file mode 100644 index 00000000..8596dd1a Binary files /dev/null and b/Python/task/sneha_python/game_ss.png differ diff --git a/Web Development/README.md b/Web Development/README.md index 98902f20..456b65e8 100644 --- a/Web Development/README.md +++ b/Web Development/README.md @@ -1,3 +1,7 @@ +<<<<<<< HEAD +# Induction-web +web devlopment task +======= # Web Development You must have come across hundreds of colorful and well-organized websites while surfing the Internet. Have you ever wondered how these websites are designed? Well, to know that you have to enter the world of Web Development. So, let’s begin. @@ -54,4 +58,5 @@ Go through the video tutorials mentioned in the above links.Make sure that you g ## Regarding Tasks
-The information regarding the tasks has been specified in the respective folders. Make sure to follow the instructions and complete your tasks. Get started with your tasks and try to have a creative approach. Hope you will find this exciting. πŸ™Œ \ No newline at end of file +The information regarding the tasks has been specified in the respective folders. Make sure to follow the instructions and complete your tasks. Get started with your tasks and try to have a creative approach. Hope you will find this exciting. πŸ™Œ +>>>>>>> ad02cf539e7ed863aa1765fbca39e622beae370d diff --git a/Web Development/task_1/sneha/index.html b/Web Development/task_1/sneha/index.html new file mode 100644 index 00000000..cad53f4f --- /dev/null +++ b/Web Development/task_1/sneha/index.html @@ -0,0 +1,22 @@ + + + + + Photo gallery + +
+ + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/Web Development/task_1/sneha/pic1.jpeg b/Web Development/task_1/sneha/pic1.jpeg new file mode 100644 index 00000000..34bf2c5d Binary files /dev/null and b/Web Development/task_1/sneha/pic1.jpeg differ diff --git a/Web Development/task_1/sneha/pic10.jpg b/Web Development/task_1/sneha/pic10.jpg new file mode 100644 index 00000000..06585ef3 Binary files /dev/null and b/Web Development/task_1/sneha/pic10.jpg differ diff --git a/Web Development/task_1/sneha/pic2.jpeg b/Web Development/task_1/sneha/pic2.jpeg new file mode 100644 index 00000000..60fec383 Binary files /dev/null and b/Web Development/task_1/sneha/pic2.jpeg differ diff --git a/Web Development/task_1/sneha/pic3.jpeg b/Web Development/task_1/sneha/pic3.jpeg new file mode 100644 index 00000000..9d356fba Binary files /dev/null and b/Web Development/task_1/sneha/pic3.jpeg differ diff --git a/Web Development/task_1/sneha/pic4.jpeg b/Web Development/task_1/sneha/pic4.jpeg new file mode 100644 index 00000000..ac9c65e1 Binary files /dev/null and b/Web Development/task_1/sneha/pic4.jpeg differ diff --git a/Web Development/task_1/sneha/pic5.jpeg b/Web Development/task_1/sneha/pic5.jpeg new file mode 100644 index 00000000..f4de7f0f Binary files /dev/null and b/Web Development/task_1/sneha/pic5.jpeg differ diff --git a/Web Development/task_1/sneha/pic6.jpg b/Web Development/task_1/sneha/pic6.jpg new file mode 100644 index 00000000..0eacc3e7 Binary files /dev/null and b/Web Development/task_1/sneha/pic6.jpg differ diff --git a/Web Development/task_1/sneha/pic7.jpg b/Web Development/task_1/sneha/pic7.jpg new file mode 100644 index 00000000..10048c09 Binary files /dev/null and b/Web Development/task_1/sneha/pic7.jpg differ diff --git a/Web Development/task_1/sneha/pic8.jpeg b/Web Development/task_1/sneha/pic8.jpeg new file mode 100644 index 00000000..94fb034b Binary files /dev/null and b/Web Development/task_1/sneha/pic8.jpeg differ diff --git a/Web Development/task_1/sneha/pic9.jpeg b/Web Development/task_1/sneha/pic9.jpeg new file mode 100644 index 00000000..ab094be8 Binary files /dev/null and b/Web Development/task_1/sneha/pic9.jpeg differ diff --git a/Web Development/task_1/sneha/style.css b/Web Development/task_1/sneha/style.css new file mode 100644 index 00000000..188b8331 --- /dev/null +++ b/Web Development/task_1/sneha/style.css @@ -0,0 +1,16 @@ +div{ + max-width: 1200px; + display: flex; + width: 100%; + flex-wrap: wrap; + justify-content: center; + background-color: #2e2c2c; +} +img { + display:inline-flex; + width: 300px; + height: 200px; + object-fit :cover; + object-position: bottom; + padding: 10px; +} \ No newline at end of file diff --git a/Web Development/task_1/sneha/url.odt b/Web Development/task_1/sneha/url.odt new file mode 100644 index 00000000..e07e3b35 Binary files /dev/null and b/Web Development/task_1/sneha/url.odt differ