Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
21-22J-056
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
21-22J-056
21-22J-056
Commits
9911a277
Commit
9911a277
authored
Jan 12, 2022
by
Harithwarman.S IT18181302
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pregency strees.py, chat.py files
parent
9ef60e6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
0 deletions
+82
-0
chat.py
chat.py
+76
-0
pregency strees.py
pregency strees.py
+6
-0
No files found.
chat.py
0 → 100644
View file @
9911a277
import
time
import
random
name
=
input
(
"Hello, what is your name? "
)
time
.
sleep
(
2
)
print
(
"Hello "
+
name
)
feeling
=
input
(
"How are you today? "
)
time
.
sleep
(
1
)
if
"good"
in
feeling
:
print
(
"I'm feeling good too!"
)
else
:
print
(
"I'm sorry to hear that!"
)
time
.
sleep
(
1
)
favcolour
=
input
(
"What is your favourite colour? "
)
colours
=
[
"Red"
,
"Green"
,
"Blue"
]
time
.
sleep
(
1
)
print
(
"My favourite colour is "
+
random
.
choice
(
colours
))
mood
=
input
(
"What are you doing today? "
)
mood
=
[
"dancing"
,
"reading"
,
"playing"
,
"watching TV"
,
"hiking"
]
time
.
sleep
(
1
)
print
(
"I feel like "
+
random
.
choice
(
mood
)
+
" today"
)
love
=
input
(
"Do you have a girlfriend? "
)
love
=
[
"Yes"
,
"No"
]
time
.
sleep
(
1
)
input
(
"cool"
)
food
=
input
(
"Which food type do you like most? "
)
food
=
[
"Asian"
,
"Japanese"
,
"Italian"
,
"Chinese"
,
"Latin"
]
time
.
sleep
(
1
)
print
(
"I mostly like "
+
random
.
choice
(
food
))
sport
=
input
(
"Which sport do you love to watch the most? "
)
sport
=
[
"cirket"
,
"Baseball"
,
"Soccer"
,
"Rugby"
,
"Athletics"
]
time
.
sleep
(
1
)
print
(
"I love to watch "
+
random
.
choice
(
sport
))
time
.
sleep
(
1
)
print
(
"I love talking with you!"
)
peak
=
input
(
"Do you know the height of world's tallest mountain? "
)
time
.
sleep
(
1
)
print
(
"8848"
)
print
(
"Anyone can answer that."
)
planet
=
input
(
"How many planet are there in this solar system"
)
time
.
sleep
(
1
)
print
(
"I guess there are 8 planets"
)
horscope
=
input
(
"What is the name of your horscope? "
)
horscope
=
[
"Leo"
,
"Cancer"
,
"Capricon"
,
"Pisces"
,
"Virgo"
]
time
.
sleep
(
1
)
print
(
"My horscope name is "
+
random
.
choice
(
horscope
))
exe
=
input
(
"How many sit up can you do? "
)
exe
=
[
"15"
,
"34"
,
"25"
,
"40"
,
"50"
]
time
.
sleep
(
1
)
print
(
"I can do around "
+
random
.
choice
(
exe
))
tired
=
input
(
"I am feeling tired today."
)
time
.
sleep
(
1
)
print
(
"See you! Have a nice day."
)
pregency strees.py
0 → 100644
View file @
9911a277
import
io
import
random
user_name
=
input
(
"Enter your Name
\n
"
)
print
(
"Welcome to the Estrees Service! Let me know how can I help you?"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment