Sign up
Login
New
Trending
Archive
English
English
Sign up
Login
New Paste
Add Image
#alp.py import time import random import threading minutes = 1 session_active = True def session_Timer(): global session_active time.sleep(minutes * 60) session_active = False session_question = input ("Your time is up. Your session has ended. Are you still there?") if session_question.lower() == "yes": session_active = True elif session_question.lower() == "No": exit() timer_thread = threading.Thread(target=session_Timer, args=(0.0833,)) timer_thread.daemon = True timer_thread.start() def TimeKeeper(): time.sleep (300) print ("Are you still there?") def JobSusitabilityQuiz(): respond = { "name": "", "certificate": "", "dreamjob": "", "salary": "", "interest": "", "qualities": "", "companychoice": "", "bestasset": "", "strengths": "", "conflictnsolution": "", } Job_list = [ ("Doctor", "PhD"), ("Private Tutor", "O levels cert or A levels cert"), ("Computer and Information Research Scientist", "Master's degree"), ("Public Relations Manager", "Master's cert"), ("Economist", "Bachelor's"), ("Architect", "Bachelor's") ] session_Timer Doctor = 0 Private_tutor = 0 Comp_n_info_research_scientist = 0 Public_Relation_Manager = 0 Economist = 0 Architect = 0 print ("Welcome") x = random.randint (1,3) name = input ("First, may I get your name please?") respond ['name'] = name print (respond) if x == 1: print ("Welcome to the job finding app!", name, ", here we will help you find a job based on the responses you give.") elif x == 2: print ("Hello", name, ",how can we help you today?") elif x == 3: print ("Hello, what would you like to do today?") certificate= int(input("What educational certificates do you have? \n1)O levels cert \n2)A levels cert \n3)Bachelors degree \n4) Masters \n5) PhD ")) if certificate == 1 or certificate == 2: Private_tutor += 1 elif certificate == 3: Architect += 1 Economist += 1 elif certificate == 4: Public_Relation_Manager += 1 Comp_n_info_research_scientist += 1 elif certificate == 5: Doctor += 1 else: print ("Sorry that is not an option") respond ['certificate'] = certificate print (respond) dreamjob = int(input ("What dream job would you like to work as? \n1) Doctor (must have PhD) \n2)Teacher/Tutor \n3)Computer scientist \n4)Manager \n5)Arcitect")) if dreamjob == 1 or 2 or 3 or 4 or 5: Doctor += 1 Private_tutor += 1 Comp_n_info_research_scientist += 1 Public_Relation_Manager += 1 Architect += 1 else: print ("Sorry that is not an option") respond ['dreamjob'] = dreamjob print (respond) salary = int(input("What is your expected salary range? \n1)$3000-$4000 \n2)$5000-$6000\n3)$7000 or more")) if salary == 1: Private_tutor += 1 elif salary == 2: Architect += 1 Public_Relation_Manager =+ 1 elif salary == 3: Comp_n_info_research_scientist += 1 else: print ("Sorry that is not an option") respond ['salary'] = salary print (respond) interests = int(input("What interests do you have? \n1)Tech-savy \n2)Teaching work \n3)Office work")) if interests == 1: Comp_n_info_research_scientist += 1 elif interests == 2: Private_tutor += 1 elif interests == 3: Architect += 1 Public_Relation_Manager += 1 Doctor += 1 else: print ("Sorry that is not an option") respond ['interests'] = interests print (respond) qualities = int(input("What qualities do you have as a worker? \n1) Very social person \n2) Hard working \n3)Patient ")) if qualities == 1: Private_tutor += 1 Doctor += 1 Public_Relation_Manager =+ 1 elif qualities == 2: Architect += 1 Private_tutor += 1 Comp_n_info_research_scientist += 1 elif qualities == 3: Doctor += 1 Private_tutor += 1 else: print ("Sorry that is not an option") respond ['qualities'] = qualities print (respond) strenghts = int(input("What are your best strengths in work? \n1) Cooperate well with clients/coworkers")) if strenghts == 1: Doctor += 1 Architect += 1 Comp_n_info_research_scientist += 1 Private_tutor += 1 Public_Relation_Manager += 1 else: print ("Sorry that is not an option") respond ['strengths'] = strenghts print (respond) conflictandsolution = input("Did you have any conflicts while working with a person?") if conflictandsolution == "yes": Doctor += 1 Architect += 1 Public_Relation_Manager += 1 elif conflictandsolution == "no": Private_tutor += 1 Architect += 1 else: print ("Sorry that is not an option") respond ['conflictnsolution'] = conflictandsolution print (respond) job_scores = { "Doctor": Doctor, "Private Tutor": Private_tutor, "Computer and Information Research Scientist": Comp_n_info_research_scientist, "Public Relations Manager": Public_Relation_Manager, "Economist": Economist, "Architect": Architect } max_score = max(job_scores.values()) best_jobs = [job for job, score in job_scores.items() if score == max_score] print("\nBased on your responses, the best job(s) for you might be:") for job in best_jobs: print(f"- {job}") print ("\nJob scores:") for job, points in job_scores.items(): print (f"{job}: {points} points") #JobSusitabilityQuiz() def InterviewCoaching(): Doctorquestions = ["How do you manage stress during long shifts or emergencies?", "Have you ever made a mistake in patient care? What did you learn from it?", "How do you approach diagnosing a patient with non-specific symptoms like fatigue or weight loss?"] Private_tutorquestions = ["What subjects and grade levels are you most comfortable tutoring?","Can you walk me through your academic background and qualifications relevant to tutoring?", "How do you set goals for your students and measure success?" ] Comp_n_info_research_scientistquestions = ["What motivated you to pursue a career in computer science research?", "Describe a project or research paper you're particularly proud of. What problem did it solve?", "If you were given a real-world problem with unclear boundaries, how would you approach solving it?"] Public_Relation_Managerquestions = ["Can you walk us through your experience in public relations?","Have you written press releases, op-eds, or speeches? Can you provide examples?", "Tell us about a time you had to manage a public relations crisis. What steps did you take?" ] Economistquestions = ["Can you walk us through your academic background in economics?", "What statistical or econometric methods are you most comfortable with?", "Have you conducted original research or published any papers?"] Architectquestions = ["Can you walk us through your portfolio? Which project are you most proud of?","Can you describe a time when you had to coordinate with engineers or contractors?", "How do you handle feedback from senior architects?"] Jobchoice = int(input("Pick a job you would like to be coached on \n1) Doctor \n2) Private tutor \n3) Computer n research scientist \n4) Public relations manager \n5)Economist \n6)Architect")) if Jobchoice == 1: print (Doctorquestions[random.randint(0,2)]) elif Jobchoice == 2: print (Private_tutorquestions[random.randint(0,2)]) elif Jobchoice == 3: print (Comp_n_info_research_scientistquestions[random.randint(0,2)]) elif Jobchoice == 4: print (Public_Relation_Managerquestions[random.randint (0,2)]) elif Jobchoice == 5: print (Economistquestions[random.randint(0,2)]) elif Jobchoice == 6: print (Architectquestions[random.randint (0,2)]) #InterviewCoaching() while True: appchoice = int(input ("Welcome to the job seeker! Which fuction of our app would you like to try first? \n1)Job Susitability Quiz \n2)Interview Coaching \n3)Exit ")) if appchoice == 1: JobSusitabilityQuiz() break elif appchoice == 2: InterviewCoaching() break elif appchoice == 3: print ("We hope you'll find a job! Goodbye!") break else: print ("That is not an option.")
Settings
Title :
[Optional]
Paste Folder :
[Optional]
Select
Syntax :
[Optional]
Select
Markup
CSS
JavaScript
Bash
C
C#
C++
Java
JSON
Lua
Plaintext
C-like
ABAP
ActionScript
Ada
Apache Configuration
APL
AppleScript
Arduino
ARFF
AsciiDoc
6502 Assembly
ASP.NET (C#)
AutoHotKey
AutoIt
Basic
Batch
Bison
Brainfuck
Bro
CoffeeScript
Clojure
Crystal
Content-Security-Policy
CSS Extras
D
Dart
Diff
Django/Jinja2
Docker
Eiffel
Elixir
Elm
ERB
Erlang
F#
Flow
Fortran
GEDCOM
Gherkin
Git
GLSL
GameMaker Language
Go
GraphQL
Groovy
Haml
Handlebars
Haskell
Haxe
HTTP
HTTP Public-Key-Pins
HTTP Strict-Transport-Security
IchigoJam
Icon
Inform 7
INI
IO
J
Jolie
Julia
Keyman
Kotlin
LaTeX
Less
Liquid
Lisp
LiveScript
LOLCODE
Makefile
Markdown
Markup templating
MATLAB
MEL
Mizar
Monkey
N4JS
NASM
nginx
Nim
Nix
NSIS
Objective-C
OCaml
OpenCL
Oz
PARI/GP
Parser
Pascal
Perl
PHP
PHP Extras
PL/SQL
PowerShell
Processing
Prolog
.properties
Protocol Buffers
Pug
Puppet
Pure
Python
Q (kdb+ database)
Qore
R
React JSX
React TSX
Ren'py
Reason
reST (reStructuredText)
Rip
Roboconf
Ruby
Rust
SAS
Sass (Sass)
Sass (Scss)
Scala
Scheme
Smalltalk
Smarty
SQL
Soy (Closure Template)
Stylus
Swift
TAP
Tcl
Textile
Template Toolkit 2
Twig
TypeScript
VB.Net
Velocity
Verilog
VHDL
vim
Visual Basic
WebAssembly
Wiki markup
Xeora
Xojo (REALbasic)
XQuery
YAML
HTML
Expiration :
[Optional]
Never
Self Destroy
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Status :
[Optional]
Public
Unlisted
Private (members only)
Password :
[Optional]
Description:
[Optional]
Tags:
[Optional]
Encrypt Paste
(
?
)
Create Paste
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Site Languages
×
English