Introduction to Programming (IS111)

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

print(2//2)

1

print(2//2.0)

1.0

print(9//2)

4

print(9/2)

4.5

Iteration

repetition. What is iteration and loop in Python? A for loop is used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string).

Concantenate

to link together or join. Typically used when joining together text Strings in programming (e.g. "Hello, "+name)


Kaugnay na mga set ng pag-aaral

Chapter 50: Assessment and Management of Patients With Biliary Disorders

View Set

Marketing 3150 Chapter 7 (Group Influences on Consumer Behavior)

View Set

EDAPT: Nursing Care - Pediatric Gastrointestinal and Elimination Alterations

View Set

12.1 - Listing Agreement - Part 1

View Set

HIT 114 TEST 4:: FINAL EXAM REVIEW

View Set

Accounting207 Exam #3 Concept Questions

View Set

Accounting Fundamentals Chapter 3

View Set

Series 65 Unit 1 Equity Securities

View Set