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

How do i convert a number to an integer float and string

P: 2
I do not understand the concept of inputing a number and having the program convert it to an integer, float and string. How would you write a program that does that
Feb 14 '11 #1
Share this Question
Share on Google+
3 Replies


bvdet
Expert Mod 2.5K+
P: 2,851
Do you understand what a string is?
Feb 14 '11 #2

P: 2
Kind of but not really, i am 100% new to python
Feb 14 '11 #3

bvdet
Expert Mod 2.5K+
P: 2,851
Perhaps you should start by perusing the Python documentation here and here.
Feb 14 '11 #4

Post your reply

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