- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
I want to use Tkinter funtion to create a a temperature calculator. I have all the code for the calculator, however using Tkinter function i cant figure out how to get the variable input by the users. I am new to python and programming, just started programming less then a … |
|
Re:
double population = 7000000000; long population2 = 7000000000; > > I have to write down world population, so i used both double and long primitive types. However, both of them says that this number is out of range. What can i do with this? i made a google search but … |
|
Re:
I want to learn a new programming language, which I can use to create large applications such as operating systems, editing applications. I know it requires a great deal of understanding of contents, but I can not decide which language. it is either C or C++ need advice... :icon_eek: |
|
[CODE]import string def main(): print ("This program calculates the number of words in a sentence") sent = input("Enter a sentence: ") words = str.split(sent) print ("The total word count is:", len(words)) print ("The total character count-withspace is:", len(sent)) retry = input(''' Would you like to try again?''') if retry == … |