Hello,
I wasn't able to get Natlink to work. I am using Python 3, for the online class I'm taking. The GeekSquad tried to install Natlink with Python 3 already installed on my computer, but I felt that with Python 3 already installed on my computer it wouldn't allow Natlink to install properly. I asked the Geek Squad agent if it would cause a problem with the install of Natlink, but he told me it didn't matter, and of course, Natlink didn't work. The GeekSquad downloaded everything and tried to set it up for me, but they were unsuccessful and were not able to get it to work. I haven't tried any other method of installing Dragonfly because I have online classes that are taking up most of my free time.
I have two problem examples that I need some help with. I don't have any examples to work with, but if you could give me an example it would help me make sense of this code problem.
If you could help me with the following problems, it would greatly appreciate.
----------------------------------
1. Assigning a sum.
Write a statement that assigns total_coins with the sum of nickel_count and dime_count. Sample output for 100 nickels and 200 dimes is: 300
1. total_coins = 0
2.
3. nickel_count = int(input())
4. dime_count = int(input())
5.
6. ''' Your solution goes here '''
7.
8. print(total_coins)
I think the number of nickels and dimes are already inputted I just need to write the solution on the third line. I have tried the following solution to this question, but it doesn't work.
6. sum = (nickel_count + dime_count)
7. sum = (total_coins
----------------------------------
(1) Prompt the user to input an integer between 0 and 155, a float, a character, and a string, storing each into separate variables. Then, output those four values on a single line separated by a space. (Submit for 2 points).Note: This zyLab outputs a newline after each user-input prompt. For convenience in the examples below, the user's input value is shown on the next line, but such values don't actually appear as output when the program runs.
Enter integer (0 - 155):
99
Enter float:
3.77
Enter character:
z
Enter string:
Howdy
99 3.77 z Howdy
1. userInt = int(input('Enter integer (0 - 155):\n'))
2.
3. Finish reading other items into variables, then output the four values on a single line separated by a space
----------------------------------
If you have an idea how to work these prpblems please show me an example of how to work through the problem to get the answer.
Thank you,
Theodore Rahm