Convert Strings into Integers in Python

Just like the str() built-in, Python also offers a handy built-in which takes a String object as an argument and returns the corresponding integer object.

Example

Output

 

[Total: 1    Average: 5/5]
admin
Leave a Reply

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages