Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Intermediate Git 2020
Demo 2
Commits
4351f8a1
Commit
4351f8a1
authored
Nov 01, 2020
by
Gilles Coremans
Browse files
Initial commit
parents
Changes
1
Hide whitespace changes
Inline
Side-by-side
calc.py
0 → 100644
View file @
4351f8a1
operand1
=
int
(
input
())
operator
=
input
()
operand2
=
int
(
input
())
if
operator
==
"+"
:
print
(
operand1
+
operand2
)
else
:
print
(
"Unsupported operation "
+
operator
)
Write
Preview
Supports
Markdown
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