Skip to content
Sign upLog in
Profile icon

with peak

@PhuPns
Repls
Community
PhuPns
PhuPns
shared a Post
2 years ago
1
how to use structure
https://repl.it/@PhuPns/PerfumedBlindTraining#main.cpp i want to use structure in this code to keep score and name player but i don't know how to use
Wumi4
Wumi4
What about store them temporarily in a array and create a function that prints that array when user done the quiz?2 years ago
PhuPns
PhuPns
shared a Post
2 years ago
2
i write code cout < | | | 'V' | \/ | v / || v | | | ' | \__ | | || \/ || ||||| !/ \!\_/||\|/ ||\|\_/ || ) " << '\n'; but it error there ar
Coder100
Coder100
that's strange. Did you maybe insert an extra ? #include int main() { std::cout < | | | 'V' | \/ | v / || v | | | ' | \__ | | || \/ || ||||| !/ \!\_/||\|/ ||\|\_/ || )" << std::endl; } `2 years ago
Bookie0
Bookie0
Hi, you could do something like this: #include using namespace std; int main() { cout using namespace std; int main() { cout < | | | V | \/ | v / || v | | | | \_ | | \n|| \/ || ||||| !/ \!\/||\|_/ ||\|\/ || " << endl; } We separate each line with \n. However, you'll probably get warnings because there are a bunch of starting escape codes (\), so you might want to take them off, or replace them. Good luck! ;)2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
it's because you have to use separate court << lines for it. Not just one. it has to be like cout << cout << cout << ... and so forth 2 years ago
PhuPns
PhuPns
shared a Post
2 years ago
1
import pandas as pd import requests from lxml import etree as et table_dfs= {} hdr={'User-Agent':'Chrome/70.0.3538.110'} for page_number in range(3):
MocaCDeveloper
MocaCDeveloper
Here is some documentation over using panda to convert a dictionary to a dataframe. I hope this helps. I don't know much about the library panda so..if you have anymore questions I will try my best to answer them!2 years ago
PhuPns
PhuPns
shared a Post
2 years ago
1
i run code that i get on website have 3 columns i put in dict and i want to get to 1 dataframe import pandas as pd import requests table_dfs= {} for
SixBeeps
SixBeeps
What are the contents of the dicts? DataTable takes in an ndarray, so you could combine them into a multidimensional array and make one out of that.2 years ago
PhuPns
PhuPns
shared a Post
2 years ago
1
i want to change dict to dataframe it have 3 columns i don't how to do it (i make this code on googlecolb)
Vandesm14
Vandesm14
I moved your post to the Ask board, which is for asking questions.2 years ago