Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Workshops Python und Pew Pew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Girls
Workshops Python und Pew Pew
Commits
98d3b675
Commit
98d3b675
authored
3 years ago
by
Raphael Das Gupta
Committed by
Maisa Melezanovic
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
change description
parent
5613c483
Branches
Branches containing commit
No related tags found
1 merge request
!3
Cheatsheets überarbeiten
Pipeline
#112100
passed
3 years ago
Stage: pages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Python_Cheatsheet_Workshops.adoc
+5
-1
5 additions, 1 deletion
Python_Cheatsheet_Workshops.adoc
with
5 additions
and
1 deletion
Python_Cheatsheet_Workshops.adoc
+
5
−
1
View file @
98d3b675
...
...
@@ -21,7 +21,11 @@ x = x + 7
# x hat nun den Wert 12
----
Die Kurzschreibweise hierfür ist:
Wenn wir wie hier zu einer Variablen etwas hinzuzählen
und das Ergebnis in derselben Variablen speichern wollen,
können wir die Kurzschreibweise `+=` verwenden.
Folgender Code macht daher das selbe
wie der obenstehende:
[source,python]
----
...
...
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