I have a path but it is incomplete and i want To complete it ny adding some words
I have a path but it is incomplete and i want To complete it ny adding some words A='C:\user\dell' B='\desktop' C=A+B print(C) But it don't work
If you want to use backslash it has to be done in this way. And it's not a matter of single or double quotes, both works. A="C:\\user\\dell" B="\\desktop" print(A+B) # output: C:\user\dell\desktop A='C:\\user\\dell' B='\\desktop' print(A+B) #output: C:\user\dell\desktop
Lothar. @netclix Thank you for your help I have found another way A=r'C:\user\.....'
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
Help me solve this (using loop)