#πŸ”’ Help with Python programming

96 messages Β· Page 1 of 1 (latest)

lone vector
#

Write a Python program to convert one currency to other currencies.
Note 1: The program must store all the exchange rates from the cross-rate table above.
Note 2: The program must prompt the user to choose the currency in hand and the required currency. It must also ask the user to enter an amount (currency value).

Run your code to convert 10 USD to EUR, 100 GBP to JPY, and 1000 INR to CHF.

coarse socketBOT
#

@lone vector

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

lone vector
#

can someone explain how to do this? i am very lost

#

Write a simple Python program for question (9) to calculate and display how much Danielle invested at each rate.

Danielle invests part of her $3000 savings into a savings account at 3% and part into a GIC at 4.5% simple interest. If she earns $128.25 in interest from her two investments, calculate how much she invested at each rate.

Copy and paste your Python code here:

total_savings= 3000
total_interest = 0.045(3000-x)
print (total_interest)

stable leaf
#

what you tried so far

empty sparrow
#

One message removed from a suspended account.

lone vector
#

or walk me through this problem

#

by tmrw

empty sparrow
#

One message removed from a suspended account.

#

One message removed from a suspended account.

lone vector
#

i think thats way too advanced lmao

#

i dont think he wants us to create a legit website, its more like a code and thats it

empty sparrow
#

One message removed from a suspended account.

lone vector
#

something like that

#

idk anything about python

empty sparrow
#

One message removed from a suspended account.

lone vector
#

yeah something like that

empty sparrow
#

One message removed from a suspended account.

lone vector
#

how do i do that?

#

without copying and pasting

empty sparrow
#

One message removed from a suspended account.

lone vector
#

No

empty sparrow
#

One message removed from a suspended account.

#

One message removed from a suspended account.

lone vector
#

idk

#

i dont know python XD

i only know css and html

empty sparrow
#

One message removed from a suspended account.

lone vector
#

i might drop this class and deal with it next term as who tf expects us to know python first week

#

whats a function?

#

lemme google

empty sparrow
#

One message removed from a suspended account.

lone vector
#

ohh ye

empty sparrow
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

lone vector
#

do you know if i can hire someone to teach me python in one hour so i can pass my assignment tonight?

rugged sleet
#

This is the main calculation you need total_interest = (x * .03) + ((3000-x) * .045) Then a loop x from 0 to 3000 print savings X and GIC 3000-x when total interest = 128.25 break

lone vector
#

brain hurt im just going to find a tutor because idk what any of this means 😭

#

dont wanna fail this course

rugged sleet
#

This can not be the first day. Do you know loops and if it is all you need

lone vector
#

This is the first day

#

not even joking, first semester first week

#

every other course we starting from zero

lone vector
rugged sleet
#

Well this must be just assessing where your knowledge is so don't sweat it.

lone vector
#

the course description says that i need python knowledge

#

and i have access to all the powerpoints/assignments and theres no teaching of python at all and the assignments depend on python

#

what we are learning is how to do math and we do python coding from that math

#

but your expected to know how to python

#

but ofc you dont know this until you do the course and are enrolled

rugged sleet
#

Not ideal. It will take a while to learn the basics so maybe a drop is in order until you know the basics

brave wing
# lone vector do you know if i can hire someone to teach me python in one hour so i can pass m...

Learn Python basics in 1 hour! ⚑ This beginner-friendly tutorial will get you coding fast.

πŸš€ Want to dive deeper?

πŸ“• Get the FREE goodies:

β–Ά Play video

Become a Python pro! πŸš€ This comprehensive tutorial takes you from beginner to hero, covering the basics, machine learning, and web development projects.

πŸš€ Want to dive deeper?

πŸ‘‰ New version available Watch here: https...

β–Ά Play video
lone vector
#

i cant do yt vids, i usually learn on my own thats what i did for css and hatml

#

and 3d modeling and unity game building

#

all from messing around in a program yt vids are a pain

brave wing
#

check the python website then

lone vector
#

i use codeecamry

#

io cant spel

#

codeacdemyt

brave wing
#

then use that lol

lone vector
lone vector
#

like understand python

brave wing
lone vector
#

Monday atleast?

brave wing
#

maybe

#

but like

#

u'd have to grind that

lone vector
#

ye monday is when the big stuff is due

brave wing
#

and u'd only know the basics

#

alr cool

lone vector
#

i gotta know beginner and advance by mon

#

but i already dmed the prof and went like "idk python what do i do"

brave wing
#

u can just ask questions in this server whenever u don't understand smth or run into problem/error

lone vector
#

itrs just stressful as i cant fail school

brave wing
#

i used to think coding would be such a hard thing but its actually so easy, u got this bro

lone vector
#

i already failed last year

brave wing
#

yea

lone vector
brave wing
#

why dont u want to use someone else's code for this project?

lone vector
#

its just very dumb ur expected to know python in a beginner course

lone vector
#

Fundamentals of Numeric Computing

brave wing
#

ohh

lone vector
#

ITs a required course for first sem

rugged sleet
#
    xint = (x * .03) + ((3000-x) * .045)
    print('savings ', x, ', gic', (3000-x), xint)
    if xint == 128.25:
        print('Good')
        break````
#

for what it is worth this is the code for question 9

#

maybe compare it to what you are learning with the basics

lone vector
#

or when im learning python on my own

rugged sleet
#

No Python this is very basic code

coarse socketBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.