Jump to content

Hafiz75

Member
  • Posts

    45
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Hafiz75's Achievements

  1. So recently i bought a External hard drive from amazon and when i plugged it in to my pc it came up with an icon of the hard drive. I really liked having an icon instead of standard default one thats on every external hard drive. Is there any way i can get it back. I have the actual file that makes the icon appear but i just need the ICO file. This is the External Hard Drive i bought of Amazon: https://www.amazon.co.uk/dp/B00TKFEEAS/ref=twister_B07PYLBPLW?_encoding=UTF8&psc=1
  2. I need help with turning Python Code to either A FlowChart or pseudocode. I think I have done the pseudocode but i'm not sure if it right. Here is the Python Program: userinput= input("Whats your File Called? \n" ) concat=userinput+".txt" def main(): f=open(concat, "r") if f.mode == 'r': contents = f.read() print(contents) if __name__== "__main__": main() Here is the Attempted Pseudocode: userinput= input("Whats your File Called? \n" ) concat=userinput+".txt" FUNCTION main(): f=open(concat, "r") IF f.mode = 'r': contents <- f.read() OUTPUT contents ENDIF ENDFUNCTION IF __name__== "__main__": main() ENDIF
  3. filename4= input("Enter The File Name? \n") confile1="LogoArt.txt" f = open(confile1, 'r') confile1.append("hi") a = 0 for i in range(len(confile1)): try: if (confile1[i] in confile1) >0: a = a + 1 if confile1[i] != confile1[i+1]: print(confile1[i],a) a = 0 except IndexError: print() I dont understand the syntax please could someone help?
  4. Oh. I don’t think your going to reply now. ?. I’ll find someone else how can help me.
  5. I’ve read both pages but still can’t find what your on about. Please could you just explain to me.
  6. Please could you indicate where about that would be. For loops or while loops page
  7. Yes but when I loop it, it will to write over the variable. I want o to create new variable.
  8. I’ve read through the pages but they dint help me with what I’m looking for. Because I have to store the number that user has imputed in a variable.
  9. Please could you just summaries all of that for me. Much appreciated
  10. I literally have no idea how do do this part because my organs will have to store the numbers that are being inputed. Please could you tech me how this is done.
×