HomeHackerRank Python Day16: Exceptions - String to Integer | HackerRank 30 Days of Code Solutions byAJ Blogs •October 17, 2021 0 Code:#!/bin/python3import sysS = input().strip()try: print (int(S))except ValueError: print ("Bad String") Tags: HackerRank HackerRank 30 Days of Code