Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
elavatkuvat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Annukka Heinonen
elavatkuvat
Commits
4008a607
Commit
4008a607
authored
1 year ago
by
Annukka Heinonen
Browse files
Options
Downloads
Patches
Plain Diff
Etusivun hahmotelma
parent
69c61042
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
etusivu.py
+22
-0
22 additions, 0 deletions
etusivu.py
with
22 additions
and
0 deletions
etusivu.py
0 → 100644
+
22
−
0
View file @
4008a607
def
varaus
():
print
(
"
Tähän tulee varausjärjestelmä! :)
"
)
def
admin
():
print
(
"
Tähän tulee ylläpito! :)
"
)
print
(
"
1 Varaaminen
"
)
print
(
"
2 ylläpito
"
)
print
(
"
0 sulkee järjestelmän
"
)
while
True
:
arvo
=
int
(
input
(
"
Anna toiminto:
"
))
if
arvo
==
1
:
varaus
()
elif
arvo
==
2
:
admin
()
elif
arvo
==
0
:
print
(
"
Kiitos ja hei!
"
)
break
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment