Use int(),useint,rent = int(r
Use int(),useint,rent = int(r
rent = int(raw_input('The rent is: '))print rent + 5
相关内容
- Join list to a string,joinstring,S = 'spammy'
- A sentence is split up into a list of words,sentencesplit,sentence
- Demonstrates the range() function,demonstratesrange,print 'Count
- str() and repr(): Strings and floating point numbers, have two distin
- Big number,bignumber,print 999999
- Bitwise or,bitwiseor,x = 1
- Anything with a non-zero length is true, empty sequences are false,
- Complex Numbers: Multiply,numbersmultiply,print (2+1j)
- Complex numbers: represented as two floating point numbers,,#Comple
- Int: modulus (remainder), power,modulusremainder,a = 3
评论关闭