I am having trouble correcting the syntax on this problem so far and I can't seem to find my mistake any ideas on what I am doing wrong ? The object of the program is to ask user for amount of money to put in the pot, and play until the pot is empty. import random mypot = int(input("Please enter the amount of money you want in the pot: ")) diceroll1 = random.randit(1, 7) diceroll2 = random.randit(1, 7) myrole = (diceroll + diceroll2) if myrole == 7: print("Your roll was a 7 you eaerned: ", mypot + 4) else: print("Your …

Member Avatar
Member Avatar
+0 forum 4

Hi i am doing a student grade lab where the student enters a grade they got on a test and they get a letter grade. My program only gives the user a F even if it should be another grade. This is my code. [CODE]strT1 = JOptionPane.showInputDialog("Enter 1st test score:"); std.test1 = Integer.parseInt(strT1); Te1.setText("Your grade for test 1 is " + std.T1); static char letterGrade(double g) { if (g >= 90) return 'A'; // 90 or above gets an A else if (g >= 80) return 'B'; // 80 to 89 gets a B else if (g >= 65) return …

Member Avatar
Member Avatar
+0 forum 5

hello... i am a graduating student now and me and my partner is currently developing our thesis entitled "high tech coin saver". This device is just like a digital coin saver. It automatically counts every coin whenever the user put one, it is limited on counting coins, and it can also detect if the coin is fake or not. i just want to ask what are the devices that we can use in order to complete our study... i really need help... thanks guys...

Member Avatar
Member Avatar
+0 forum 7

The End.