Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
b303bad
initialcommit
amitpoitrix Apr 15, 2022
7231c14
Delete index.html
snehab03 Apr 16, 2022
24340e2
Delete style.css
snehab03 Apr 16, 2022
9b946bb
Delete Web Development/task_1/sneha/img directory
snehab03 Apr 16, 2022
9bf60da
Create sneha
snehab03 Apr 16, 2022
5e0c49c
Delete sneha
snehab03 Apr 16, 2022
0dafe26
Create sneha
snehab03 Apr 16, 2022
bde3ce7
Delete sneha
snehab03 Apr 16, 2022
9d14858
Create sneha
snehab03 Apr 16, 2022
e2c157c
Create sneha
snehab03 Apr 16, 2022
e51b54f
Delete sneha
snehab03 Apr 16, 2022
b8fed4c
Add files via upload
snehab03 Apr 16, 2022
853fa02
Delete sneha
snehab03 Apr 16, 2022
a44b016
Add files via upload
snehab03 Apr 16, 2022
ba5cfcf
Update index.html
snehab03 Apr 16, 2022
3a49265
web development
amitpoitrix Apr 18, 2022
267633b
web development
amitpoitrix Apr 18, 2022
43ec749
Delete Screenshot from 2022-04-16 16-49-45.png
snehab03 Apr 20, 2022
0b675d4
Delete README.md
snehab03 Apr 20, 2022
56e6f71
Delete pic1.jpeg
snehab03 Apr 20, 2022
3ce8793
Delete index.html
snehab03 Apr 20, 2022
2aa198a
Delete pic10.jpg
snehab03 Apr 20, 2022
8579995
Delete pic2.jpeg
snehab03 Apr 20, 2022
ed5d753
Delete pic3.jpeg
snehab03 Apr 20, 2022
d1afabb
Delete pic4.jpeg
snehab03 Apr 20, 2022
872bbfe
Delete pic5.jpeg
snehab03 Apr 20, 2022
0e2a1c3
Delete pic6.jpg
snehab03 Apr 20, 2022
4c1ef8d
Delete pic7.jpg
snehab03 Apr 20, 2022
89279dc
Delete pic8.jpeg
snehab03 Apr 20, 2022
942e3a6
Delete url.odt
snehab03 Apr 20, 2022
c8e634a
Delete style.css
snehab03 Apr 20, 2022
8d7f8c6
Delete pic9.jpeg
snehab03 Apr 20, 2022
b20246e
Delete Web Development/task_1 directory
snehab03 Apr 20, 2022
7d8cf90
Add files via upload
snehab03 Apr 20, 2022
28de883
commit
Apr 24, 2022
4e371c8
Merge branch 'main' of https://github.com/snehab03/Induction-2022 int…
Apr 24, 2022
5e7200a
push
Apr 24, 2022
fd4de7e
deleted
Apr 24, 2022
8427240
webdev task
Apr 24, 2022
8a0c261
complete
May 1, 2022
20ede2b
python_task
May 1, 2022
669e86f
python_task
May 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions Python/task/sneha_python/game.py
Original file line number Diff line number Diff line change
@@ -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
Binary file added Python/task/sneha_python/game_ss.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion Web Development/README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -54,4 +58,5 @@ Go through the video tutorials mentioned in the above links.Make sure that you g

## Regarding Tasks
<hr>
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. 🙌
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
22 changes: 22 additions & 0 deletions Web Development/task_1/sneha/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<title>Photo gallery</title>
<body style="background-color: black;">
<div class="container">
<img src="/home/amit/Desktop/sneha/img/pic5.jpeg">
<img src="/home/amit/Desktop/sneha/img/pic2.jpeg">
<img src="/home/amit/Desktop/sneha/img/pic3.jpeg">
<img src="/home/amit/Desktop/sneha/img/pic4.jpeg">
<img src="/home/amit/Desktop/sneha/img/pic5.jpeg">
<img src="/home/amit/Desktop/sneha/img/pic6.jpg">
<img src="/home/amit/Desktop/sneha/img/pic7.jpg">
<img src="/home/amit/Desktop/sneha/img/pic8.jpeg">
<img src="/home/amit/Desktop/sneha/img/pic9.jpeg">
<img src="/home/amit/Desktop/sneha/img/pic10.jpg">
</div>

</body>
</head>
</html>
Binary file added Web Development/task_1/sneha/pic1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/sneha/pic10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/sneha/pic2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/sneha/pic3.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/sneha/pic4.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/sneha/pic5.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/sneha/pic6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/sneha/pic7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/sneha/pic8.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Web Development/task_1/sneha/pic9.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions Web Development/task_1/sneha/style.css
Original file line number Diff line number Diff line change
@@ -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;
}
Binary file added Web Development/task_1/sneha/url.odt
Binary file not shown.