CP104 Lecture Notes - Lecture 9: Operand, Modulus Guitars

14 views2 pages
School
Course
hayjayshay and 38575 others unlocked
CP104 Full Course Notes
2
CP104 Full Course Notes
Verified Note
2 documents

Document Summary

Must convert the string input to the appropriate numeric type. Print( total cost: $ , cost) dynamic typing (vs. static) Statically typed language (c, java): declare all variables and their types at the start of the program. Dynamically typed language (python: variable type is determined when the variable is created. September 23rd, 2015: exponent performs exponential (power) calculation on operators. Ex. divide_ex = 14. 5/10, remainder_ex = 14. 5 % 10, print (divide_ex, remainder_ex) - /: integer division divides left hand operand by right hand operand and gives the result as an integer.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents