By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,640 Members | 2,077 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,640 IT Pros & Developers. It's quick & easy.

I will like to now about float and strip and int

P: 1
what is different of float and strip and int? and please give me examples for each one at separate?
Feb 28 '18 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,035
  • strip

    str = "0000000this is string example....wow!!!0000000";
    print str.strip( '0' )
    When we run above program, it produces following result −
    this is string example....wow!!!

  • float
  • int

    These are basic data types.


'strip' is a function, it will remove characters from start and end of a string.
Feb 28 '18 #2

Post your reply

Sign in to post your reply or Sign up for a free account.