Entries by Hannah Wangui

A string

Question We are providing a string as an input to your program.Your job is to add the string , hello!to the string we provide you and then output it. Make sure you include the space after the comma! # Input from the command line import sys name = sys.argv[1] # Write code below   Looking for […]

 

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"

Format

Question I can not get the script to print in the correct format of : mine prints the first two line together? class=”ql-font-monospace” style=”background-color:rgb(233,255,242);color:rgb(72,64,64);”>What would you like to do?Your current balance:500.25 account_balance = float(500.50)def balance():  print(“Your current balance:n$%.2f”%account_balance)userchoice = input(“What would you like to do?”)           if userchoice == ‘B’: print(“Your current balance:”) print (account_balance) account_balance = “nBegining Balance: “+str(account_balance)elif (userchoice […]

 

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"

Import sys

Question import sys#Initial beginning balanceaccount_balance = float(500.25)#defines balance def account_balance():  #print the beggining balance amount   print(“Your current balance:n$%.2f”%account_balance) #defines deposit def deposit_amount(): #req user to input amt of depsit  deposit_amount = float(input(“How much would you like to deposit?”))    # calulated new bal with amt deposited account_balance = account_balance + deposit_amount**** keeps erroring and i can’t […]

 

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"

The honor code

Question This is not me violating the honor code. I just copied the question from codio so you can see what it is asking. import sys N = int(sys.argv[1]) # Write your code here Your code should expect one input. All you need to do is add 12 to it and output the result. I […]

 

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"