Exercise 4: Convert String to Integer
Write a function to convert a string to integer or float.
Problem Statement
Find out what method can be used to turn the string "1"
into the number 1
(remember floats and integers are different kinds of numbers). Confirm that you have ...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy