In the documentation, string-related methods and functions are covered in
several places—find and read or skim these pages: "Sequence types", "String
methods", "String formatting operations", and "String constants". If you are
comfortable with regular expressions, also look at the "Regular expression
operations" pages.
Still in IDLE, create two floating point values:
f = -34.814
g = 723.126
Based on your reading of the string formatting documentation, create a single
format string that when used with the % operator will produce the string "
-34.81>" when applied to f and "<+723.13>" when applied to g.
+723.13>
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here