Python Programming with 100% correct answers
Comment - # allows you to make a comment on your code Lists - A list stores a series of items in particular order. You can access these items using an index or loop. Lists can be modified Example bikes = ['trek', 'redline', 'giant'] Tuples (tuple) - Tuples are similar to lists, but items in tuples cannot be modified IF statements - "IF" statements are used to test for particular conditions and respond accordingly. Example: equals x == 42 not equal x != 42 greater than x > 42 or equal to x >= 42 less than x < 42 or equal to x <= 42
Written for
- Institution
- Programming for python language..
- Course
- Programming for python language..
Document information
- Uploaded on
- December 25, 2023
- Number of pages
- 3
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
python programming with 100 correct answers